From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- .../engines/funcs/r/ai_init_alter_table.result | 1141 + .../engines/funcs/r/ai_init_create_table.result | 1081 + .../suite/engines/funcs/r/ai_init_insert.result | 390 + .../suite/engines/funcs/r/ai_init_insert_id.result | 1141 + .../suite/engines/funcs/r/ai_overflow_error.result | 1081 + .../engines/funcs/r/ai_reset_by_truncate.result | 2521 ++ .../engines/funcs/r/ai_sql_auto_is_null.result | 529 + .../suite/engines/funcs/r/an_calendar.result | 49 + mysql-test/suite/engines/funcs/r/an_number.result | 113 + mysql-test/suite/engines/funcs/r/an_string.result | 53 + .../suite/engines/funcs/r/comment_column.result | 393 + .../suite/engines/funcs/r/comment_column2.result | 397 + .../suite/engines/funcs/r/comment_index.result | 484 + .../suite/engines/funcs/r/comment_table.result | 127 + .../funcs/r/crash_manycolumns_number.result | 7 + .../funcs/r/crash_manycolumns_string.result | 10 + .../funcs/r/crash_manyindexes_number.result | 7 + .../funcs/r/crash_manyindexes_string.result | 7 + .../engines/funcs/r/crash_manytables_number.result | 3001 ++ .../engines/funcs/r/crash_manytables_string.result | 3001 ++ .../suite/engines/funcs/r/date_function.result | 749 + .../suite/engines/funcs/r/datetime_function.result | 39 + .../engines/funcs/r/db_alter_character_set.result | 463 + .../funcs/r/db_alter_character_set_collate.result | 127 + .../engines/funcs/r/db_alter_collate_ascii.result | 677 + .../engines/funcs/r/db_alter_collate_utf8.result | 2273 ++ .../engines/funcs/r/db_create_character_set.result | 111 + .../funcs/r/db_create_character_set_collate.result | 67 + .../suite/engines/funcs/r/db_create_drop.result | 49 + .../suite/engines/funcs/r/db_create_error.result | 22 + .../funcs/r/db_create_error_reserved.result | 18 + .../engines/funcs/r/db_create_if_not_exists.result | 37 + .../suite/engines/funcs/r/db_drop_error.result | 22 + .../suite/engines/funcs/r/db_use_error.result | 22 + mysql-test/suite/engines/funcs/r/de_autoinc.result | 151 + .../suite/engines/funcs/r/de_calendar_range.result | 101 + mysql-test/suite/engines/funcs/r/de_ignore.result | 169 + mysql-test/suite/engines/funcs/r/de_limit.result | 145 + .../suite/engines/funcs/r/de_multi_db_table.result | 1107 + .../engines/funcs/r/de_multi_db_table_using.result | 1107 + .../suite/engines/funcs/r/de_multi_table.result | 984 + .../engines/funcs/r/de_multi_table_using.result | 984 + .../suite/engines/funcs/r/de_number_range.result | 2017 + mysql-test/suite/engines/funcs/r/de_quick.result | 169 + .../suite/engines/funcs/r/de_string_range.result | 769 + .../suite/engines/funcs/r/de_truncate.result | 49 + .../engines/funcs/r/de_truncate_autoinc.result | 145 + .../engines/funcs/r/fu_aggregate_avg_number.result | 3361 ++ .../funcs/r/fu_aggregate_count_number.result | 3361 ++ .../engines/funcs/r/fu_aggregate_max_number.result | 3361 ++ .../funcs/r/fu_aggregate_max_subquery.result | 91 + .../engines/funcs/r/fu_aggregate_min_number.result | 3361 ++ .../engines/funcs/r/fu_aggregate_sum_number.result | 3361 ++ .../suite/engines/funcs/r/general_no_data.result | 511 + .../suite/engines/funcs/r/general_not_null.result | 661 + .../suite/engines/funcs/r/general_null.result | 661 + ...ar_2_unique_constraints_duplicate_update.result | 162 + ..._calendar_pk_constraint_duplicate_update.result | 93 + .../funcs/r/in_calendar_pk_constraint_error.result | 95 + .../r/in_calendar_pk_constraint_ignore.result | 95 + ...endar_unique_constraint_duplicate_update.result | 93 + .../r/in_calendar_unique_constraint_error.result | 95 + .../r/in_calendar_unique_constraint_ignore.result | 105 + .../suite/engines/funcs/r/in_enum_null.result | 22 + .../funcs/r/in_enum_null_boundary_error.result | 16 + .../funcs/r/in_enum_null_large_error.result | 3 + .../suite/engines/funcs/r/in_insert_select.result | 127 + .../funcs/r/in_insert_select_autoinc.result | 121 + .../r/in_insert_select_unique_violation.result | 61 + .../engines/funcs/r/in_lob_boundary_error.result | 122 + ..._calendar_pk_constraint_duplicate_update.result | 177 + ...multicolumn_calendar_pk_constraint_error.result | 167 + ...ulticolumn_calendar_pk_constraint_ignore.result | 167 + ...endar_unique_constraint_duplicate_update.result | 177 + ...icolumn_calendar_unique_constraint_error.result | 167 + ...column_calendar_unique_constraint_ignore.result | 195 + ...mn_number_pk_constraint_duplicate_update.result | 177 + ...n_multicolumn_number_pk_constraint_error.result | 337 + ..._multicolumn_number_pk_constraint_ignore.result | 337 + ...umber_unique_constraint_duplicate_update.result | 295 + ...lticolumn_number_unique_constraint_error.result | 337 + ...ticolumn_number_unique_constraint_ignore.result | 379 + ...mn_string_pk_constraint_duplicate_update.result | 85 + ...n_multicolumn_string_pk_constraint_error.result | 97 + ..._multicolumn_string_pk_constraint_ignore.result | 91 + ...tring_unique_constraint_duplicate_update.result | 85 + ...lticolumn_string_unique_constraint_error.result | 91 + ...ticolumn_string_unique_constraint_ignore.result | 103 + ...er_2_unique_constraints_duplicate_update.result | 225 + .../funcs/r/in_number_boundary_error.result | 116 + .../r/in_number_decimal_boundary_error.result | 82 + .../suite/engines/funcs/r/in_number_length.result | 369 + .../suite/engines/funcs/r/in_number_null.result | 133 + ...in_number_pk_constraint_duplicate_update.result | 127 + .../funcs/r/in_number_pk_constraint_error.result | 141 + .../funcs/r/in_number_pk_constraint_ignore.result | 155 + ...umber_unique_constraint_duplicate_update.result | 127 + .../r/in_number_unique_constraint_error.result | 141 + .../r/in_number_unique_constraint_ignore.result | 155 + .../suite/engines/funcs/r/in_set_null.result | 22 + .../funcs/r/in_set_null_boundary_error.result | 21 + .../suite/engines/funcs/r/in_set_null_large.result | 24 + ...ng_2_unique_constraints_duplicate_update.result | 65 + .../funcs/r/in_string_boundary_error.result | 70 + .../engines/funcs/r/in_string_not_null.result | Bin 0 -> 3702 bytes .../suite/engines/funcs/r/in_string_null.result | Bin 0 -> 4020 bytes ...in_string_pk_constraint_duplicate_update.result | Bin 0 -> 1009 bytes .../funcs/r/in_string_pk_constraint_error.result | Bin 0 -> 1061 bytes .../funcs/r/in_string_pk_constraint_ignore.result | Bin 0 -> 1129 bytes .../engines/funcs/r/in_string_set_enum_fail.result | 41 + ...tring_unique_constraint_duplicate_update.result | Bin 0 -> 973 bytes .../r/in_string_unique_constraint_error.result | Bin 0 -> 1005 bytes .../r/in_string_unique_constraint_ignore.result | Bin 0 -> 1073 bytes mysql-test/suite/engines/funcs/r/ix_drop.result | 7 + .../suite/engines/funcs/r/ix_drop_error.result | 7 + .../suite/engines/funcs/r/ix_index_decimals.result | 281 + .../suite/engines/funcs/r/ix_index_lob.result | 225 + .../engines/funcs/r/ix_index_non_string.result | 449 + .../suite/engines/funcs/r/ix_index_string.result | 113 + .../engines/funcs/r/ix_index_string_length.result | 113 + .../engines/funcs/r/ix_unique_decimals.result | 281 + .../suite/engines/funcs/r/ix_unique_lob.result | 225 + .../engines/funcs/r/ix_unique_non_string.result | 449 + .../suite/engines/funcs/r/ix_unique_string.result | 113 + .../engines/funcs/r/ix_unique_string_length.result | 113 + .../suite/engines/funcs/r/ix_using_order.result | 96 + .../suite/engines/funcs/r/jp_comment_column.result | 394 + .../suite/engines/funcs/r/jp_comment_index.result | 485 + .../funcs/r/jp_comment_older_compatibility1.result | 136 + .../suite/engines/funcs/r/jp_comment_table.result | 126 + .../r/ld_all_number_string_calendar_types.result | 15457 ++++++++ mysql-test/suite/engines/funcs/r/ld_bit.result | 17 + .../suite/engines/funcs/r/ld_enum_set.result | 19 + .../suite/engines/funcs/r/ld_less_columns.result | 21 + .../funcs/r/ld_more_columns_truncated.result | 21 + mysql-test/suite/engines/funcs/r/ld_null.result | 30 + mysql-test/suite/engines/funcs/r/ld_quote.result | 19 + mysql-test/suite/engines/funcs/r/ld_simple.result | 17 + .../suite/engines/funcs/r/ld_starting.result | 15 + .../suite/engines/funcs/r/ld_unique_error1.result | 20 + .../engines/funcs/r/ld_unique_error1_local.result | 32 + .../suite/engines/funcs/r/ld_unique_error2.result | 27 + .../engines/funcs/r/ld_unique_error2_local.result | 35 + .../suite/engines/funcs/r/ld_unique_error3.result | 28 + .../engines/funcs/r/ld_unique_error3_local.result | 30 + .../suite/engines/funcs/r/ps_number_length.result | 1593 + .../suite/engines/funcs/r/ps_number_null.result | 553 + .../engines/funcs/r/ps_string_not_null.result | Bin 0 -> 11681 bytes .../suite/engines/funcs/r/ps_string_null.result | Bin 0 -> 12521 bytes .../suite/engines/funcs/r/re_number_range.result | 2395 ++ .../engines/funcs/r/re_number_range_set.result | 2395 ++ .../suite/engines/funcs/r/re_number_select.result | 19 + .../suite/engines/funcs/r/re_string_range.result | 913 + .../engines/funcs/r/re_string_range_set.result | 913 + mysql-test/suite/engines/funcs/r/rpl_000010.result | 19 + mysql-test/suite/engines/funcs/r/rpl_000011.result | 18 + mysql-test/suite/engines/funcs/r/rpl_000013.result | 33 + mysql-test/suite/engines/funcs/r/rpl_000015.result | 46 + mysql-test/suite/engines/funcs/r/rpl_000017.result | 19 + .../suite/engines/funcs/r/rpl_LD_INFILE.result | 119 + .../suite/engines/funcs/r/rpl_alter,innodb.rdiff | 72 + mysql-test/suite/engines/funcs/r/rpl_alter.result | 132 + .../suite/engines/funcs/r/rpl_alter_db.result | 12 + mysql-test/suite/engines/funcs/r/rpl_bit.result | 139 + .../suite/engines/funcs/r/rpl_bit_npk.result | 172 + .../suite/engines/funcs/r/rpl_change_master.result | 34 + .../engines/funcs/r/rpl_create_database.result | 66 + .../suite/engines/funcs/r/rpl_do_grant.result | 320 + mysql-test/suite/engines/funcs/r/rpl_drop.result | 7 + .../suite/engines/funcs/r/rpl_drop_db.result | 40 + .../engines/funcs/r/rpl_dual_pos_advance.result | 28 + .../engines/funcs/r/rpl_err_ignoredtable.result | 51 + .../suite/engines/funcs/r/rpl_flushlog_loop.result | 14 + .../suite/engines/funcs/r/rpl_free_items.result | 10 + .../suite/engines/funcs/r/rpl_get_lock.result | 38 + .../suite/engines/funcs/r/rpl_ignore_grant.result | 45 + .../suite/engines/funcs/r/rpl_ignore_revoke.result | 34 + .../engines/funcs/r/rpl_ignore_table_update.result | 25 + .../suite/engines/funcs/r/rpl_init_slave.result | 33 + mysql-test/suite/engines/funcs/r/rpl_insert.result | 25 + .../suite/engines/funcs/r/rpl_insert_select.result | 21 + .../suite/engines/funcs/r/rpl_loaddata2.result | 153 + .../suite/engines/funcs/r/rpl_loaddata_m.result | 42 + .../suite/engines/funcs/r/rpl_loaddata_s.result | 16 + .../suite/engines/funcs/r/rpl_loaddatalocal.result | 37 + .../suite/engines/funcs/r/rpl_loadfile.result | 229 + .../suite/engines/funcs/r/rpl_log_pos.result | 37 + .../suite/engines/funcs/r/rpl_many_optimize.result | 7 + .../engines/funcs/r/rpl_misc_functions.result | 61 + .../suite/engines/funcs/r/rpl_multi_delete.result | 22 + .../suite/engines/funcs/r/rpl_multi_delete2.result | 49 + .../suite/engines/funcs/r/rpl_multi_update4.result | 28 + mysql-test/suite/engines/funcs/r/rpl_ps.result | 54 + .../suite/engines/funcs/r/rpl_relayspace.result | 18 + .../engines/funcs/r/rpl_replicate_ignore_db.result | 25 + .../suite/engines/funcs/r/rpl_row_NOW.result | 30 + .../suite/engines/funcs/r/rpl_row_USER.result | 44 + .../suite/engines/funcs/r/rpl_row_drop.result | 55 + .../suite/engines/funcs/r/rpl_row_func001.result | 32 + .../engines/funcs/r/rpl_row_inexist_tbl.result | 27 + .../engines/funcs/r/rpl_row_max_relay_size.result | 83 + .../engines/funcs/r/rpl_row_reset_slave.result | 59 + .../suite/engines/funcs/r/rpl_row_sp001.result | 91 + .../suite/engines/funcs/r/rpl_row_sp005.result | 92 + .../suite/engines/funcs/r/rpl_row_sp008.result | 29 + .../suite/engines/funcs/r/rpl_row_sp009.result | 82 + .../suite/engines/funcs/r/rpl_row_sp010.result | 59 + .../suite/engines/funcs/r/rpl_row_sp011.result | 70 + .../suite/engines/funcs/r/rpl_row_sp012.result | 61 + .../engines/funcs/r/rpl_row_stop_middle.result | 27 + .../suite/engines/funcs/r/rpl_row_trig001.result | 34 + .../suite/engines/funcs/r/rpl_row_trig002.result | 75 + .../suite/engines/funcs/r/rpl_row_trig003.result | 84 + .../suite/engines/funcs/r/rpl_row_until.result | 74 + .../suite/engines/funcs/r/rpl_row_view01.result | 106 + .../suite/engines/funcs/r/rpl_server_id1.result | 21 + .../suite/engines/funcs/r/rpl_server_id2.result | 41 + .../suite/engines/funcs/r/rpl_session_var.result | 58 + mysql-test/suite/engines/funcs/r/rpl_sf.result | 26 + .../suite/engines/funcs/r/rpl_skip_error.result | 18 + .../suite/engines/funcs/r/rpl_slave_status.result | 48 + .../suite/engines/funcs/r/rpl_sp,myisam,mix.rdiff | 479 + mysql-test/suite/engines/funcs/r/rpl_sp.result | 1312 + mysql-test/suite/engines/funcs/r/rpl_sp004.result | 98 + .../suite/engines/funcs/r/rpl_sp_effects.result | 321 + .../engines/funcs/r/rpl_start_stop_slave.result | 17 + .../engines/funcs/r/rpl_stm_max_relay_size.result | 83 + .../suite/engines/funcs/r/rpl_stm_mystery22.result | 35 + .../suite/engines/funcs/r/rpl_stm_no_op.result | 71 + .../engines/funcs/r/rpl_stm_reset_slave.result | 59 + .../funcs/r/rpl_switch_stm_row_mixed.result | 460 + .../suite/engines/funcs/r/rpl_temp_table.result | 63 + .../suite/engines/funcs/r/rpl_temporary.result | 248 + .../suite/engines/funcs/r/rpl_trigger.result | 1094 + .../suite/engines/funcs/r/rpl_trunc_temp.result | 26 + .../engines/funcs/r/rpl_user_variables.result | 312 + .../suite/engines/funcs/r/rpl_variables.result | 18 + mysql-test/suite/engines/funcs/r/rpl_view.result | 138 + .../suite/engines/funcs/r/se_join_cross.result | 5365 +++ .../suite/engines/funcs/r/se_join_default.result | 7591 ++++ .../suite/engines/funcs/r/se_join_inner.result | 5365 +++ .../suite/engines/funcs/r/se_join_left.result | 9061 +++++ .../engines/funcs/r/se_join_left_outer.result | 6541 ++++ .../engines/funcs/r/se_join_natural_left.result | 6541 ++++ .../funcs/r/se_join_natural_left_outer.result | 6541 ++++ .../engines/funcs/r/se_join_natural_right.result | 4567 +++ .../funcs/r/se_join_natural_right_outer.result | 4567 +++ .../suite/engines/funcs/r/se_join_right.result | 4567 +++ .../engines/funcs/r/se_join_right_outer.result | 4567 +++ .../suite/engines/funcs/r/se_join_straight.result | 4315 +++ mysql-test/suite/engines/funcs/r/se_rowid.result | 97 + .../engines/funcs/r/se_string_distinct.result | 9787 +++++ .../suite/engines/funcs/r/se_string_from.result | 3277 ++ .../suite/engines/funcs/r/se_string_groupby.result | 6379 ++++ .../suite/engines/funcs/r/se_string_having.result | 13993 +++++++ .../suite/engines/funcs/r/se_string_limit.result | 14659 ++++++++ .../suite/engines/funcs/r/se_string_orderby.result | 5695 +++ .../suite/engines/funcs/r/se_string_union.result | 4453 +++ .../suite/engines/funcs/r/se_string_where.result | 2773 ++ .../engines/funcs/r/se_string_where_and.result | 2647 ++ .../engines/funcs/r/se_string_where_or.result | 2647 ++ mysql-test/suite/engines/funcs/r/sf_alter.result | 7682 ++++ mysql-test/suite/engines/funcs/r/sf_cursor.result | 129 + mysql-test/suite/engines/funcs/r/sf_simple1.result | 4502 +++ mysql-test/suite/engines/funcs/r/sp_alter.result | 2942 ++ mysql-test/suite/engines/funcs/r/sp_cursor.result | 50 + mysql-test/suite/engines/funcs/r/sp_simple1.result | 1622 + mysql-test/suite/engines/funcs/r/sq_all.result | 86 + mysql-test/suite/engines/funcs/r/sq_any.result | 130 + mysql-test/suite/engines/funcs/r/sq_corr.result | 57 + mysql-test/suite/engines/funcs/r/sq_error.result | 70 + mysql-test/suite/engines/funcs/r/sq_exists.result | 110 + mysql-test/suite/engines/funcs/r/sq_from.result | Bin 0 -> 2637 bytes mysql-test/suite/engines/funcs/r/sq_in.result | 70 + mysql-test/suite/engines/funcs/r/sq_row.result | 72 + mysql-test/suite/engines/funcs/r/sq_scalar.result | Bin 0 -> 3217 bytes mysql-test/suite/engines/funcs/r/sq_some.result | 130 + .../engines/funcs/r/ta_2part_column_to_pk.result | 385 + .../funcs/r/ta_2part_diff_string_to_pk.result | 449 + .../engines/funcs/r/ta_2part_diff_to_pk.result | 7169 ++++ .../engines/funcs/r/ta_2part_string_to_pk.result | 97 + .../engines/funcs/r/ta_3part_column_to_pk.result | 417 + .../engines/funcs/r/ta_3part_string_to_pk.result | 105 + .../suite/engines/funcs/r/ta_add_column.result | 25345 +++++++++++++ .../suite/engines/funcs/r/ta_add_column2.result | 4225 +++ .../engines/funcs/r/ta_add_column_first.result | 24289 ++++++++++++ .../engines/funcs/r/ta_add_column_first2.result | 4225 +++ .../engines/funcs/r/ta_add_column_middle.result | 32257 ++++++++++++++++ .../engines/funcs/r/ta_add_column_middle2.result | 5377 +++ .../suite/engines/funcs/r/ta_add_string.result | 705 + .../suite/engines/funcs/r/ta_add_string2.result | 4225 +++ .../engines/funcs/r/ta_add_string_first.result | 705 + .../engines/funcs/r/ta_add_string_first2.result | 4225 +++ .../engines/funcs/r/ta_add_string_middle.result | 897 + .../engines/funcs/r/ta_add_string_middle2.result | 3585 ++ .../funcs/r/ta_add_string_unique_index.result | 1585 + .../engines/funcs/r/ta_add_unique_index.result | 6337 ++++ .../engines/funcs/r/ta_column_from_unsigned.result | 925 + .../engines/funcs/r/ta_column_from_zerofill.result | 1849 + .../engines/funcs/r/ta_column_to_index.result | 4225 +++ .../engines/funcs/r/ta_column_to_not_null.result | 1009 + .../suite/engines/funcs/r/ta_column_to_null.result | 1009 + .../suite/engines/funcs/r/ta_column_to_pk.result | 353 + .../engines/funcs/r/ta_column_to_unsigned.result | 925 + .../engines/funcs/r/ta_column_to_zerofill.result | 1849 + .../suite/engines/funcs/r/ta_drop_column.result | 673 + .../suite/engines/funcs/r/ta_drop_index.result | 2113 ++ .../funcs/r/ta_drop_pk_autoincrement.result | 265 + .../suite/engines/funcs/r/ta_drop_pk_number.result | 353 + .../suite/engines/funcs/r/ta_drop_pk_string.result | 89 + .../engines/funcs/r/ta_drop_string_index.result | 529 + mysql-test/suite/engines/funcs/r/ta_orderby.result | 217 + mysql-test/suite/engines/funcs/r/ta_rename.result | 801 + .../engines/funcs/r/ta_set_drop_default.result | 903 + .../engines/funcs/r/ta_string_drop_column.result | 169 + .../engines/funcs/r/ta_string_to_index.result | 1057 + .../engines/funcs/r/ta_string_to_not_null.result | 169 + .../suite/engines/funcs/r/ta_string_to_null.result | 169 + .../suite/engines/funcs/r/ta_string_to_pk.result | 89 + .../engines/funcs/r/tc_column_autoincrement.result | 79 + .../suite/engines/funcs/r/tc_column_comment.result | 337 + .../funcs/r/tc_column_comment_string.result | 49 + .../funcs/r/tc_column_default_decimal.result | 194 + .../funcs/r/tc_column_default_number.result | 145 + .../funcs/r/tc_column_default_string.result | 97 + .../suite/engines/funcs/r/tc_column_enum.result | 25 + .../engines/funcs/r/tc_column_enum_long.result | 25 + .../suite/engines/funcs/r/tc_column_key.result | 261 + .../engines/funcs/r/tc_column_key_length.result | 53 + .../suite/engines/funcs/r/tc_column_length.result | 265 + .../funcs/r/tc_column_length_decimals.result | 194 + .../engines/funcs/r/tc_column_length_zero.result | 49 + .../engines/funcs/r/tc_column_not_null.result | 337 + .../suite/engines/funcs/r/tc_column_null.result | 337 + .../funcs/r/tc_column_primary_key_number.result | 261 + .../funcs/r/tc_column_primary_key_string.result | 53 + .../suite/engines/funcs/r/tc_column_serial.result | 14 + .../suite/engines/funcs/r/tc_column_set.result | 25 + .../engines/funcs/r/tc_column_set_long.result | 25 + .../engines/funcs/r/tc_column_unique_key.result | 261 + .../funcs/r/tc_column_unique_key_string.result | 53 + .../engines/funcs/r/tc_column_unsigned.result | 337 + .../engines/funcs/r/tc_column_zerofill.result | 673 + .../suite/engines/funcs/r/tc_drop_table.result | 61 + .../funcs/r/tc_multicolumn_different.result | 36481 +++++++++++++++++++ .../engines/funcs/r/tc_multicolumn_same.result | 361 + .../funcs/r/tc_multicolumn_same_string.result | 73 + .../engines/funcs/r/tc_partition_analyze.result | 61 + ..._partition_change_from_range_to_hash_key.result | 756 + .../engines/funcs/r/tc_partition_check.result | 60 + .../suite/engines/funcs/r/tc_partition_hash.result | 1261 + .../funcs/r/tc_partition_hash_date_function.result | 721 + .../suite/engines/funcs/r/tc_partition_key.result | 721 + .../engines/funcs/r/tc_partition_linear_key.result | 721 + .../funcs/r/tc_partition_list_directory.result | 32 + .../engines/funcs/r/tc_partition_list_error.result | 66 + .../engines/funcs/r/tc_partition_optimize.result | 58 + .../engines/funcs/r/tc_partition_rebuild.result | 58 + .../engines/funcs/r/tc_partition_remove.result | 477 + .../funcs/r/tc_partition_reorg_divide.result | 486 + .../funcs/r/tc_partition_reorg_hash_key.result | 1404 + .../funcs/r/tc_partition_reorg_merge.result | 426 + .../engines/funcs/r/tc_partition_repair.result | 58 + .../suite/engines/funcs/r/tc_partition_sub1.result | 331 + .../suite/engines/funcs/r/tc_partition_sub2.result | 409 + .../engines/funcs/r/tc_partition_value.result | 131 + .../funcs/r/tc_partition_value_error.result | 71 + .../funcs/r/tc_partition_value_specific.result | 111 + mysql-test/suite/engines/funcs/r/tc_rename.result | 22 + .../funcs/r/tc_rename_across_database.result | 39 + .../suite/engines/funcs/r/tc_rename_error.result | 37 + .../engines/funcs/r/tc_structure_comment.result | 301 + .../funcs/r/tc_structure_create_like.result | 451 + .../funcs/r/tc_structure_create_like_string.result | 73 + .../funcs/r/tc_structure_create_select.result | 851 + .../r/tc_structure_create_select_string.result | 137 + .../funcs/r/tc_structure_string_comment.result | 49 + .../engines/funcs/r/tc_temporary_column.result | 617 + .../funcs/r/tc_temporary_column_length.result | 243 + .../suite/engines/funcs/r/time_function.result | 10 + .../engines/funcs/r/tr_all_type_triggers.result | 1838 + mysql-test/suite/engines/funcs/r/tr_delete.result | 1277 + .../engines/funcs/r/tr_delete_new_error.result | 1101 + mysql-test/suite/engines/funcs/r/tr_insert.result | 815 + .../engines/funcs/r/tr_insert_after_error.result | 485 + .../engines/funcs/r/tr_insert_old_error.result | 243 + mysql-test/suite/engines/funcs/r/tr_update.result | 771 + .../engines/funcs/r/tr_update_after_error.result | 463 + .../suite/engines/funcs/r/up_calendar_range.result | 118 + mysql-test/suite/engines/funcs/r/up_ignore.result | 349 + mysql-test/suite/engines/funcs/r/up_limit.result | 175 + .../suite/engines/funcs/r/up_multi_db_table.result | 411 + .../suite/engines/funcs/r/up_multi_table.result | 348 + .../suite/engines/funcs/r/up_nullcheck.result | 97 + .../suite/engines/funcs/r/up_number_range.result | 2395 ++ .../suite/engines/funcs/r/up_string_range.result | 913 + 396 files changed, 454479 insertions(+) create mode 100644 mysql-test/suite/engines/funcs/r/ai_init_alter_table.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_init_create_table.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_init_insert.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_init_insert_id.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_overflow_error.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result create mode 100644 mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result create mode 100644 mysql-test/suite/engines/funcs/r/an_calendar.result create mode 100644 mysql-test/suite/engines/funcs/r/an_number.result create mode 100644 mysql-test/suite/engines/funcs/r/an_string.result create mode 100644 mysql-test/suite/engines/funcs/r/comment_column.result create mode 100644 mysql-test/suite/engines/funcs/r/comment_column2.result create mode 100644 mysql-test/suite/engines/funcs/r/comment_index.result create mode 100644 mysql-test/suite/engines/funcs/r/comment_table.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manycolumns_number.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manycolumns_string.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manyindexes_number.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manyindexes_string.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manytables_number.result create mode 100644 mysql-test/suite/engines/funcs/r/crash_manytables_string.result create mode 100644 mysql-test/suite/engines/funcs/r/date_function.result create mode 100644 mysql-test/suite/engines/funcs/r/datetime_function.result create mode 100644 mysql-test/suite/engines/funcs/r/db_alter_character_set.result create mode 100644 mysql-test/suite/engines/funcs/r/db_alter_character_set_collate.result create mode 100644 mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result create mode 100644 mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_character_set.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_character_set_collate.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_drop.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_error.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_error_reserved.result create mode 100644 mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result create mode 100644 mysql-test/suite/engines/funcs/r/db_drop_error.result create mode 100644 mysql-test/suite/engines/funcs/r/db_use_error.result create mode 100644 mysql-test/suite/engines/funcs/r/de_autoinc.result create mode 100644 mysql-test/suite/engines/funcs/r/de_calendar_range.result create mode 100644 mysql-test/suite/engines/funcs/r/de_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/de_limit.result create mode 100644 mysql-test/suite/engines/funcs/r/de_multi_db_table.result create mode 100644 mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result create mode 100644 mysql-test/suite/engines/funcs/r/de_multi_table.result create mode 100644 mysql-test/suite/engines/funcs/r/de_multi_table_using.result create mode 100644 mysql-test/suite/engines/funcs/r/de_number_range.result create mode 100644 mysql-test/suite/engines/funcs/r/de_quick.result create mode 100644 mysql-test/suite/engines/funcs/r/de_string_range.result create mode 100644 mysql-test/suite/engines/funcs/r/de_truncate.result create mode 100644 mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_max_subquery.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result create mode 100644 mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result create mode 100644 mysql-test/suite/engines/funcs/r/general_no_data.result create mode 100644 mysql-test/suite/engines/funcs/r/general_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/general_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_2_unique_constraints_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_enum_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_enum_null_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_enum_null_large_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_insert_select.result create mode 100644 mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result create mode 100644 mysql-test/suite/engines/funcs/r/in_insert_select_unique_violation.result create mode 100644 mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_2_unique_constraints_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_decimal_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_length.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_number_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_set_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_set_null_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_set_null_large.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_2_unique_constraints_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_boundary_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_null.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_pk_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_pk_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_pk_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_set_enum_fail.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_unique_constraint_duplicate_update.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_unique_constraint_error.result create mode 100644 mysql-test/suite/engines/funcs/r/in_string_unique_constraint_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_drop.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_drop_error.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_index_decimals.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_index_lob.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_index_non_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_index_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_index_string_length.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_unique_decimals.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_unique_lob.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_unique_non_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_unique_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_unique_string_length.result create mode 100644 mysql-test/suite/engines/funcs/r/ix_using_order.result create mode 100644 mysql-test/suite/engines/funcs/r/jp_comment_column.result create mode 100644 mysql-test/suite/engines/funcs/r/jp_comment_index.result create mode 100644 mysql-test/suite/engines/funcs/r/jp_comment_older_compatibility1.result create mode 100644 mysql-test/suite/engines/funcs/r/jp_comment_table.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_all_number_string_calendar_types.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_bit.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_enum_set.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_less_columns.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_more_columns_truncated.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_quote.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_simple.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_starting.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error1.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error1_local.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error2.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error2_local.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error3.result create mode 100644 mysql-test/suite/engines/funcs/r/ld_unique_error3_local.result create mode 100644 mysql-test/suite/engines/funcs/r/ps_number_length.result create mode 100644 mysql-test/suite/engines/funcs/r/ps_number_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ps_string_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ps_string_null.result create mode 100644 mysql-test/suite/engines/funcs/r/re_number_range.result create mode 100644 mysql-test/suite/engines/funcs/r/re_number_range_set.result create mode 100644 mysql-test/suite/engines/funcs/r/re_number_select.result create mode 100644 mysql-test/suite/engines/funcs/r/re_string_range.result create mode 100644 mysql-test/suite/engines/funcs/r/re_string_range_set.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_000010.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_000011.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_000013.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_000015.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_000017.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_LD_INFILE.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_alter,innodb.rdiff create mode 100644 mysql-test/suite/engines/funcs/r/rpl_alter.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_alter_db.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_bit.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_bit_npk.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_change_master.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_create_database.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_do_grant.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_drop.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_drop_db.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_dual_pos_advance.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_err_ignoredtable.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_flushlog_loop.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_free_items.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_get_lock.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_ignore_grant.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_ignore_revoke.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_ignore_table_update.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_init_slave.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_insert.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_insert_select.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_loaddata2.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_loaddata_m.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_loaddata_s.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_loaddatalocal.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_loadfile.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_log_pos.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_many_optimize.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_misc_functions.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_multi_delete.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_multi_delete2.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_multi_update4.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_ps.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_relayspace.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_replicate_ignore_db.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_NOW.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_USER.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_drop.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_func001.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_inexist_tbl.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_max_relay_size.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_reset_slave.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp001.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp005.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp008.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp009.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp010.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp011.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_sp012.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_stop_middle.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_trig001.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_trig002.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_trig003.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_until.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_row_view01.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_server_id1.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_server_id2.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_session_var.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_sf.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_skip_error.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_slave_status.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.rdiff create mode 100644 mysql-test/suite/engines/funcs/r/rpl_sp.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_sp004.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_sp_effects.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_start_stop_slave.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_stm_max_relay_size.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_stm_mystery22.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_stm_no_op.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_stm_reset_slave.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_switch_stm_row_mixed.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_temp_table.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_temporary.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_trigger.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_trunc_temp.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_user_variables.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_variables.result create mode 100644 mysql-test/suite/engines/funcs/r/rpl_view.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_cross.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_default.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_inner.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_left.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_left_outer.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_natural_left.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_natural_left_outer.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_natural_right.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_natural_right_outer.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_right.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_right_outer.result create mode 100644 mysql-test/suite/engines/funcs/r/se_join_straight.result create mode 100644 mysql-test/suite/engines/funcs/r/se_rowid.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_distinct.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_from.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_groupby.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_having.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_limit.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_orderby.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_union.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_where.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_where_and.result create mode 100644 mysql-test/suite/engines/funcs/r/se_string_where_or.result create mode 100644 mysql-test/suite/engines/funcs/r/sf_alter.result create mode 100644 mysql-test/suite/engines/funcs/r/sf_cursor.result create mode 100644 mysql-test/suite/engines/funcs/r/sf_simple1.result create mode 100644 mysql-test/suite/engines/funcs/r/sp_alter.result create mode 100644 mysql-test/suite/engines/funcs/r/sp_cursor.result create mode 100644 mysql-test/suite/engines/funcs/r/sp_simple1.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_all.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_any.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_corr.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_error.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_exists.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_from.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_in.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_row.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_scalar.result create mode 100644 mysql-test/suite/engines/funcs/r/sq_some.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_2part_column_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_2part_diff_string_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_2part_diff_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_2part_string_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_3part_column_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_3part_string_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column_first.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column_first2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column_middle.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_column_middle2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string_first.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string_first2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string_middle.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string_middle2.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_string_unique_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_add_unique_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_from_unsigned.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_from_zerofill.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_unsigned.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_column_to_zerofill.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_column.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_pk_autoincrement.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_pk_number.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_pk_string.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_drop_string_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_orderby.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_rename.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_set_drop_default.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_string_drop_column.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_string_to_index.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_string_to_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_string_to_null.result create mode 100644 mysql-test/suite/engines/funcs/r/ta_string_to_pk.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_autoincrement.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_comment.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_comment_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_default_decimal.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_default_number.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_default_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_enum.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_enum_long.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_key_length.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_length.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_length_decimals.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_length_zero.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_not_null.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_null.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_primary_key_number.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_primary_key_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_serial.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_set.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_set_long.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_unique_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_unique_key_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_unsigned.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_column_zerofill.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_drop_table.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_multicolumn_different.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_multicolumn_same.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_multicolumn_same_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_analyze.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_change_from_range_to_hash_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_check.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_hash.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_hash_date_function.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_linear_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_list_directory.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_list_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_optimize.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_rebuild.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_remove.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_reorg_divide.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_reorg_hash_key.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_reorg_merge.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_repair.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_sub1.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_sub2.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_value.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_value_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_partition_value_specific.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_rename.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_rename_across_database.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_rename_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_comment.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_create_like.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_create_like_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_create_select.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_create_select_string.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_structure_string_comment.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_temporary_column.result create mode 100644 mysql-test/suite/engines/funcs/r/tc_temporary_column_length.result create mode 100644 mysql-test/suite/engines/funcs/r/time_function.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_all_type_triggers.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_delete.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_delete_new_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_insert.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_insert_after_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_insert_old_error.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_update.result create mode 100644 mysql-test/suite/engines/funcs/r/tr_update_after_error.result create mode 100644 mysql-test/suite/engines/funcs/r/up_calendar_range.result create mode 100644 mysql-test/suite/engines/funcs/r/up_ignore.result create mode 100644 mysql-test/suite/engines/funcs/r/up_limit.result create mode 100644 mysql-test/suite/engines/funcs/r/up_multi_db_table.result create mode 100644 mysql-test/suite/engines/funcs/r/up_multi_table.result create mode 100644 mysql-test/suite/engines/funcs/r/up_nullcheck.result create mode 100644 mysql-test/suite/engines/funcs/r/up_number_range.result create mode 100644 mysql-test/suite/engines/funcs/r/up_string_range.result (limited to 'mysql-test/suite/engines/funcs/r') diff --git a/mysql-test/suite/engines/funcs/r/ai_init_alter_table.result b/mysql-test/suite/engines/funcs/r/ai_init_alter_table.result new file mode 100644 index 00000000..dc3166f8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_init_alter_table.result @@ -0,0 +1,1141 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ai_init_create_table.result b/mysql-test/suite/engines/funcs/r/ai_init_create_table.result new file mode 100644 index 00000000..6070be7a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_init_create_table.result @@ -0,0 +1,1081 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ai_init_insert.result b/mysql-test/suite/engines/funcs/r/ai_init_insert.result new file mode 100644 index 00000000..2be1aaf9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_init_insert.result @@ -0,0 +1,390 @@ +DROP TABLE IF EXISTS t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, c8 VARCHAR(100), c9 CHAR(50), c10 DATETIME, c11 DATETIME, c12 DATETIME,c13 DATETIME, INDEX i1 (c1), INDEX i2(c2) +) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment + + +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`), + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment + + +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`), + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment + + +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`), + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +DROP INDEX i1 ON t1; +ALTER TABLE t1 DROP INDEX i2; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode='TRADITIONAL'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode='TRADITIONAL'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment FROM information_schema.statistics WHERE table_name='t1'; +comment +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ai_init_insert_id.result b/mysql-test/suite/engines/funcs/r/ai_init_insert_id.result new file mode 100644 index 00000000..5cae71cc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_init_insert_id.result @@ -0,0 +1,1141 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SET INSERT_ID = 10; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ai_overflow_error.result b/mysql-test/suite/engines/funcs/r/ai_overflow_error.result new file mode 100644 index 00000000..799dbbed --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_overflow_error.result @@ -0,0 +1,1081 @@ +DROP TABLE IF EXISTS t1; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t1 VALUES(-1111111111111111111111111111111111111); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT * FROM t1; +c1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +SET SQL_MODE=''; diff --git a/mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result b/mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result new file mode 100644 index 00000000..9de7f91b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result @@ -0,0 +1,2521 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +NULL +NULL +NULL +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +ALTER TABLE t1 AUTO_INCREMENT=10; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +10 +11 +12 +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(null); +SELECT * FROM t1; +c1 +1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result b/mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result new file mode 100644 index 00000000..fe7d7424 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result @@ -0,0 +1,529 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ); +SET SQL_AUTO_IS_NULL = 1; +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +INSERT INTO t1 VALUES(null); +SELECT * FROM t1 WHERE c1 IS NULL; +c1 +3 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/an_calendar.result b/mysql-test/suite/engines/funcs/r/an_calendar.result new file mode 100644 index 00000000..669b097b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/an_calendar.result @@ -0,0 +1,49 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 VALUES(NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +INSERT INTO t1 VALUES(NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 VALUES(NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +INSERT INTO t1 VALUES(NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 VALUES(NOW(),NOW()); +INSERT INTO t1 VALUES(NOW(),NOW()); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 VALUES(NOW(),NOW()); +INSERT INTO t1 VALUES(NOW(),NOW()); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/an_number.result b/mysql-test/suite/engines/funcs/r/an_number.result new file mode 100644 index 00000000..257213d0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/an_number.result @@ -0,0 +1,113 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL, c2 INT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL); +INSERT INTO t1 VALUES(1,2); +INSERT INTO t1 VALUES(3,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/an_string.result b/mysql-test/suite/engines/funcs/r/an_string.result new file mode 100644 index 00000000..f3e7eaed --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/an_string.result @@ -0,0 +1,53 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(100) NULL, c2 CHAR(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(100) NULL, c2 VARCHAR(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(100) NULL, c2 BINARY(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(100) NULL, c2 VARBINARY(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(100) NULL, c2 BLOB(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze Warning Engine-independent statistics are not collected for column 'c1' +test.t1 analyze Warning Engine-independent statistics are not collected for column 'c2' +test.t1 analyze status OK +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(100) NULL, c2 TEXT(100) NULL); +INSERT INTO t1 VALUES('abc','ABCDEFG'); +INSERT INTO t1 VALUES('123','1234567890'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze Warning Engine-independent statistics are not collected for column 'c1' +test.t1 analyze Warning Engine-independent statistics are not collected for column 'c2' +test.t1 analyze status OK +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/comment_column.result b/mysql-test/suite/engines/funcs/r/comment_column.result new file mode 100644 index 00000000..7ecdac07 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/comment_column.result @@ -0,0 +1,393 @@ +DROP TABLE IF EXISTS t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 ADD COLUMN c8 INTEGER COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 ADD COLUMN c9 INTEGER COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 ADD COLUMN c10 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 MODIFY COLUMN c8 CHAR(10); +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 CHANGE COLUMN c9 c9_1 INTEGER COMMENT '1234567890'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 DROP COLUMN c1; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +ALTER TABLE t1 ADD COLUMN c11 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +Warnings: +Warning 1629 Comment for field 'c11' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode='TRADITIONAL'; +ALTER TABLE t1 ADD COLUMN c12 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +ERROR HY000: Comment for field 'c12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode=''; +ALTER TABLE t1 ADD COLUMN c12 CHAR(100) COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c12` char(100) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +drop table t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdaBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +Warnings: +Warning 1629 Comment for field 'c2' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +DROP TABLE t1; +set sql_mode='TRADITIONAL'; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdaBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +ERROR HY000: Comment for field 'c2' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) diff --git a/mysql-test/suite/engines/funcs/r/comment_column2.result b/mysql-test/suite/engines/funcs/r/comment_column2.result new file mode 100644 index 00000000..99402e7f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/comment_column2.result @@ -0,0 +1,397 @@ +DROP TABLE IF EXISTS t1; +create table t1 ( +c1 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c2 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c3 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c4 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c5 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c6 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c7 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c8 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c9 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c10 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c11 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c12 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c13 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c14 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c15 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c16 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c17 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c18 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c19 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c20 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c21 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c22 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c23 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c24 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c25 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c26 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c27 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c28 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c29 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c30 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c31 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c32 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c33 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c34 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c35 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c36 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c37 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c38 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c39 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c40 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c41 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c42 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c43 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c44 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c45 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c46 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c47 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c48 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c49 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c50 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) + 0 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) +ALTER TABLE t1 ADD COLUMN c51 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',ADD COLUMN c52 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) + 0 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) +ALTER TABLE t1 ADD COLUMN c53 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c54 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c55 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c56 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c57 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c58 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c59 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c60 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c61 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c62 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ALTER TABLE t1 ADD COLUMN c63 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) + 0 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) +ALTER TABLE t1 ADD COLUMN c64 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'; +ERROR HY000: Table definition is too large +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) + 0 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 1000 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) +drop table t1; +create table t1 ( +c1 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c2 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c3 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c4 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c5 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c6 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c7 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c8 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c9 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c10 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c11 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c12 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c13 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c14 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c15 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c16 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c17 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c18 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c19 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c20 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c21 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c22 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c23 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c24 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c25 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c26 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c27 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c28 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c29 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c30 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c31 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c32 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c33 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c34 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c35 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c36 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c37 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c38 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c39 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c40 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c41 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c42 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c43 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c44 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c45 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c46 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c47 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c48 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c49 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c50 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c51 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c52 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c53 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c54 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c55 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c56 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c57 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c58 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c59 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c60 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c61 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c62 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c63 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c64 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij', +c65 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') +; +ERROR HY000: Table definition is too large +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) diff --git a/mysql-test/suite/engines/funcs/r/comment_index.result b/mysql-test/suite/engines/funcs/r/comment_index.result new file mode 100644 index 00000000..9a2e658f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/comment_index.result @@ -0,0 +1,484 @@ +DROP TABLE IF EXISTS t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, c8 VARCHAR(100), c9 CHAR(50), c10 DATETIME, c11 DATETIME, c12 DATETIME,c13 DATETIME, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +CREATE INDEX i4 ON t1(c4) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`), + KEY `i4` (`c4`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 ADD INDEX (c6) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`), + KEY `i4` (`c4`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +DROP INDEX i1 ON t1; +ALTER TABLE t1 DROP INDEX i2, DROP INDEX i4; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +ALTER TABLE t1 ADD INDEX i8(c8) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', ADD INDEX i10(c10) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +CREATE INDEX i1_3 ON t1(c1,c2,c3) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SET STATEMENT sql_mode = '' FOR +CREATE INDEX i11 ON t1(c11) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +Warnings: +Warning 1688 Comment for index 'i11' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i11` (`c11`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +ALTER TABLE t1 ADD INDEX (c13) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +Warnings: +Warning 1688 Comment for index 'c13' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i11` (`c11`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `c13` (`c13`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode='TRADITIONAL'; +ALTER TABLE t1 ADD INDEX i12 (c12) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +ERROR HY000: Comment for index 'i12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i11` (`c11`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `c13` (`c13`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +set sql_mode='TRADITIONAL'; +CREATE INDEX i12 ON t1(c12) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +ERROR HY000: Comment for index 'i12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 + abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i8` (`c8`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i10` (`c10`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `i11` (`c11`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', + KEY `c13` (`c13`) COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/comment_table.result b/mysql-test/suite/engines/funcs/r/comment_table.result new file mode 100644 index 00000000..2153cd31 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/comment_table.result @@ -0,0 +1,127 @@ +DROP TABLE IF EXISTS t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +drop table t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 1025 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde' +drop table t1; +set sql_mode='TRADITIONAL'; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 1025 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +drop table t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 2048 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd' +drop table t1; +SET SQL_MODE=''; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde'; +Warnings: +Warning 1628 Comment for table 't1' is too long (max = 2048) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd 2048 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +drop table t1; +SET SQL_MODE='TRADITIONAL'; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde'; +ERROR HY000: Comment for table 't1' is too long (max = 2048) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) diff --git a/mysql-test/suite/engines/funcs/r/crash_manycolumns_number.result b/mysql-test/suite/engines/funcs/r/crash_manycolumns_number.result new file mode 100644 index 00000000..b6bf119b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manycolumns_number.result @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER,c2 INTEGER,c3 INTEGER,c4 INTEGER,c5 INTEGER,c6 INTEGER,c7 INTEGER,c8 INTEGER,c9 INTEGER,c10 INTEGER,c11 INTEGER,c12 INTEGER,c13 INTEGER,c14 INTEGER,c15 INTEGER,c16 INTEGER,c17 INTEGER,c18 INTEGER,c19 INTEGER,c20 INTEGER,c21 INTEGER,c22 INTEGER,c23 INTEGER,c24 INTEGER,c25 INTEGER,c26 INTEGER,c27 INTEGER,c28 INTEGER,c29 INTEGER,c30 INTEGER,c31 INTEGER,c32 INTEGER,c33 INTEGER,c34 INTEGER,c35 INTEGER,c36 INTEGER,c37 INTEGER,c38 INTEGER,c39 INTEGER,c40 INTEGER,c41 INTEGER,c42 INTEGER,c43 INTEGER,c44 INTEGER,c45 INTEGER,c46 INTEGER,c47 INTEGER,c48 INTEGER,c49 INTEGER,c50 INTEGER,c51 INTEGER,c52 INTEGER,c53 INTEGER,c54 INTEGER,c55 INTEGER,c56 INTEGER,c57 INTEGER,c58 INTEGER,c59 INTEGER,c60 INTEGER,c61 INTEGER,c62 INTEGER,c63 INTEGER,c64 INTEGER,c65 INTEGER,c66 INTEGER,c67 INTEGER,c68 INTEGER,c69 INTEGER,c70 INTEGER,c71 INTEGER,c72 INTEGER,c73 INTEGER,c74 INTEGER,c75 INTEGER,c76 INTEGER,c77 INTEGER,c78 INTEGER,c79 INTEGER,c80 INTEGER,c81 INTEGER,c82 INTEGER,c83 INTEGER,c84 INTEGER,c85 INTEGER,c86 INTEGER,c87 INTEGER,c88 INTEGER,c89 INTEGER,c90 INTEGER,c91 INTEGER,c92 INTEGER,c93 INTEGER,c94 INTEGER,c95 INTEGER,c96 INTEGER,c97 INTEGER,c98 INTEGER,c99 INTEGER,c100 INTEGER,c101 INTEGER,c102 INTEGER,c103 INTEGER,c104 INTEGER,c105 INTEGER,c106 INTEGER,c107 INTEGER,c108 INTEGER,c109 INTEGER,c110 INTEGER,c111 INTEGER,c112 INTEGER,c113 INTEGER,c114 INTEGER,c115 INTEGER,c116 INTEGER,c117 INTEGER,c118 INTEGER,c119 INTEGER,c120 INTEGER,c121 INTEGER,c122 INTEGER,c123 INTEGER,c124 INTEGER,c125 INTEGER,c126 INTEGER,c127 INTEGER,c128 INTEGER,c129 INTEGER,c130 INTEGER,c131 INTEGER,c132 INTEGER,c133 INTEGER,c134 INTEGER,c135 INTEGER,c136 INTEGER,c137 INTEGER,c138 INTEGER,c139 INTEGER,c140 INTEGER,c141 INTEGER,c142 INTEGER,c143 INTEGER,c144 INTEGER,c145 INTEGER,c146 INTEGER,c147 INTEGER,c148 INTEGER,c149 INTEGER,c150 INTEGER,c151 INTEGER,c152 INTEGER,c153 INTEGER,c154 INTEGER,c155 INTEGER,c156 INTEGER,c157 INTEGER,c158 INTEGER,c159 INTEGER,c160 INTEGER,c161 INTEGER,c162 INTEGER,c163 INTEGER,c164 INTEGER,c165 INTEGER,c166 INTEGER,c167 INTEGER,c168 INTEGER,c169 INTEGER,c170 INTEGER,c171 INTEGER,c172 INTEGER,c173 INTEGER,c174 INTEGER,c175 INTEGER,c176 INTEGER,c177 INTEGER,c178 INTEGER,c179 INTEGER,c180 INTEGER,c181 INTEGER,c182 INTEGER,c183 INTEGER,c184 INTEGER,c185 INTEGER,c186 INTEGER,c187 INTEGER,c188 INTEGER,c189 INTEGER,c190 INTEGER,c191 INTEGER,c192 INTEGER,c193 INTEGER,c194 INTEGER,c195 INTEGER,c196 INTEGER,c197 INTEGER,c198 INTEGER,c199 INTEGER,c200 INTEGER,c201 INTEGER,c202 INTEGER,c203 INTEGER,c204 INTEGER,c205 INTEGER,c206 INTEGER,c207 INTEGER,c208 INTEGER,c209 INTEGER,c210 INTEGER,c211 INTEGER,c212 INTEGER,c213 INTEGER,c214 INTEGER,c215 INTEGER,c216 INTEGER,c217 INTEGER,c218 INTEGER,c219 INTEGER,c220 INTEGER,c221 INTEGER,c222 INTEGER,c223 INTEGER,c224 INTEGER,c225 INTEGER,c226 INTEGER,c227 INTEGER,c228 INTEGER,c229 INTEGER,c230 INTEGER,c231 INTEGER,c232 INTEGER,c233 INTEGER,c234 INTEGER,c235 INTEGER,c236 INTEGER,c237 INTEGER,c238 INTEGER,c239 INTEGER,c240 INTEGER,c241 INTEGER,c242 INTEGER,c243 INTEGER,c244 INTEGER,c245 INTEGER,c246 INTEGER,c247 INTEGER,c248 INTEGER,c249 INTEGER,c250 INTEGER,c251 INTEGER,c252 INTEGER,c253 INTEGER,c254 INTEGER,c255 INTEGER,c256 INTEGER,c257 INTEGER,c258 INTEGER,c259 INTEGER,c260 INTEGER,c261 INTEGER,c262 INTEGER,c263 INTEGER,c264 INTEGER,c265 INTEGER,c266 INTEGER,c267 INTEGER,c268 INTEGER,c269 INTEGER,c270 INTEGER,c271 INTEGER,c272 INTEGER,c273 INTEGER,c274 INTEGER,c275 INTEGER,c276 INTEGER,c277 INTEGER,c278 INTEGER,c279 INTEGER,c280 INTEGER,c281 INTEGER,c282 INTEGER,c283 INTEGER,c284 INTEGER,c285 INTEGER,c286 INTEGER,c287 INTEGER,c288 INTEGER,c289 INTEGER,c290 INTEGER,c291 INTEGER,c292 INTEGER,c293 INTEGER,c294 INTEGER,c295 INTEGER,c296 INTEGER,c297 INTEGER,c298 INTEGER,c299 INTEGER,c300 INTEGER,c301 INTEGER,c302 INTEGER,c303 INTEGER,c304 INTEGER,c305 INTEGER,c306 INTEGER,c307 INTEGER,c308 INTEGER,c309 INTEGER,c310 INTEGER,c311 INTEGER,c312 INTEGER,c313 INTEGER,c314 INTEGER,c315 INTEGER,c316 INTEGER,c317 INTEGER,c318 INTEGER,c319 INTEGER,c320 INTEGER,c321 INTEGER,c322 INTEGER,c323 INTEGER,c324 INTEGER,c325 INTEGER,c326 INTEGER,c327 INTEGER,c328 INTEGER,c329 INTEGER,c330 INTEGER,c331 INTEGER,c332 INTEGER,c333 INTEGER,c334 INTEGER,c335 INTEGER,c336 INTEGER,c337 INTEGER,c338 INTEGER,c339 INTEGER,c340 INTEGER,c341 INTEGER,c342 INTEGER,c343 INTEGER,c344 INTEGER,c345 INTEGER,c346 INTEGER,c347 INTEGER,c348 INTEGER,c349 INTEGER,c350 INTEGER,c351 INTEGER,c352 INTEGER,c353 INTEGER,c354 INTEGER,c355 INTEGER,c356 INTEGER,c357 INTEGER,c358 INTEGER,c359 INTEGER,c360 INTEGER,c361 INTEGER,c362 INTEGER,c363 INTEGER,c364 INTEGER,c365 INTEGER,c366 INTEGER,c367 INTEGER,c368 INTEGER,c369 INTEGER,c370 INTEGER,c371 INTEGER,c372 INTEGER,c373 INTEGER,c374 INTEGER,c375 INTEGER,c376 INTEGER,c377 INTEGER,c378 INTEGER,c379 INTEGER,c380 INTEGER,c381 INTEGER,c382 INTEGER,c383 INTEGER,c384 INTEGER,c385 INTEGER,c386 INTEGER,c387 INTEGER,c388 INTEGER,c389 INTEGER,c390 INTEGER,c391 INTEGER,c392 INTEGER,c393 INTEGER,c394 INTEGER,c395 INTEGER,c396 INTEGER,c397 INTEGER,c398 INTEGER,c399 INTEGER,c400 INTEGER,c401 INTEGER,c402 INTEGER,c403 INTEGER,c404 INTEGER,c405 INTEGER,c406 INTEGER,c407 INTEGER,c408 INTEGER,c409 INTEGER,c410 INTEGER,c411 INTEGER,c412 INTEGER,c413 INTEGER,c414 INTEGER,c415 INTEGER,c416 INTEGER,c417 INTEGER,c418 INTEGER,c419 INTEGER,c420 INTEGER,c421 INTEGER,c422 INTEGER,c423 INTEGER,c424 INTEGER,c425 INTEGER,c426 INTEGER,c427 INTEGER,c428 INTEGER,c429 INTEGER,c430 INTEGER,c431 INTEGER,c432 INTEGER,c433 INTEGER,c434 INTEGER,c435 INTEGER,c436 INTEGER,c437 INTEGER,c438 INTEGER,c439 INTEGER,c440 INTEGER,c441 INTEGER,c442 INTEGER,c443 INTEGER,c444 INTEGER,c445 INTEGER,c446 INTEGER,c447 INTEGER,c448 INTEGER,c449 INTEGER,c450 INTEGER,c451 INTEGER,c452 INTEGER,c453 INTEGER,c454 INTEGER,c455 INTEGER,c456 INTEGER,c457 INTEGER,c458 INTEGER,c459 INTEGER,c460 INTEGER,c461 INTEGER,c462 INTEGER,c463 INTEGER,c464 INTEGER,c465 INTEGER,c466 INTEGER,c467 INTEGER,c468 INTEGER,c469 INTEGER,c470 INTEGER,c471 INTEGER,c472 INTEGER,c473 INTEGER,c474 INTEGER,c475 INTEGER,c476 INTEGER,c477 INTEGER,c478 INTEGER,c479 INTEGER,c480 INTEGER,c481 INTEGER,c482 INTEGER,c483 INTEGER,c484 INTEGER,c485 INTEGER,c486 INTEGER,c487 INTEGER,c488 INTEGER,c489 INTEGER,c490 INTEGER,c491 INTEGER,c492 INTEGER,c493 INTEGER,c494 INTEGER,c495 INTEGER,c496 INTEGER,c497 INTEGER,c498 INTEGER,c499 INTEGER,c500 INTEGER,c501 INTEGER,c502 INTEGER,c503 INTEGER,c504 INTEGER,c505 INTEGER,c506 INTEGER,c507 INTEGER,c508 INTEGER,c509 INTEGER,c510 INTEGER,c511 INTEGER,c512 INTEGER,c513 INTEGER,c514 INTEGER,c515 INTEGER,c516 INTEGER,c517 INTEGER,c518 INTEGER,c519 INTEGER,c520 INTEGER,c521 INTEGER,c522 INTEGER,c523 INTEGER,c524 INTEGER,c525 INTEGER,c526 INTEGER,c527 INTEGER,c528 INTEGER,c529 INTEGER,c530 INTEGER,c531 INTEGER,c532 INTEGER,c533 INTEGER,c534 INTEGER,c535 INTEGER,c536 INTEGER,c537 INTEGER,c538 INTEGER,c539 INTEGER,c540 INTEGER,c541 INTEGER,c542 INTEGER,c543 INTEGER,c544 INTEGER,c545 INTEGER,c546 INTEGER,c547 INTEGER,c548 INTEGER,c549 INTEGER,c550 INTEGER,c551 INTEGER,c552 INTEGER,c553 INTEGER,c554 INTEGER,c555 INTEGER,c556 INTEGER,c557 INTEGER,c558 INTEGER,c559 INTEGER,c560 INTEGER,c561 INTEGER,c562 INTEGER,c563 INTEGER,c564 INTEGER,c565 INTEGER,c566 INTEGER,c567 INTEGER,c568 INTEGER,c569 INTEGER,c570 INTEGER,c571 INTEGER,c572 INTEGER,c573 INTEGER,c574 INTEGER,c575 INTEGER,c576 INTEGER,c577 INTEGER,c578 INTEGER,c579 INTEGER,c580 INTEGER,c581 INTEGER,c582 INTEGER,c583 INTEGER,c584 INTEGER,c585 INTEGER,c586 INTEGER,c587 INTEGER,c588 INTEGER,c589 INTEGER,c590 INTEGER,c591 INTEGER,c592 INTEGER,c593 INTEGER,c594 INTEGER,c595 INTEGER,c596 INTEGER,c597 INTEGER,c598 INTEGER,c599 INTEGER,c600 INTEGER,c601 INTEGER,c602 INTEGER,c603 INTEGER,c604 INTEGER,c605 INTEGER,c606 INTEGER,c607 INTEGER,c608 INTEGER,c609 INTEGER,c610 INTEGER,c611 INTEGER,c612 INTEGER,c613 INTEGER,c614 INTEGER,c615 INTEGER,c616 INTEGER,c617 INTEGER,c618 INTEGER,c619 INTEGER,c620 INTEGER,c621 INTEGER,c622 INTEGER,c623 INTEGER,c624 INTEGER,c625 INTEGER,c626 INTEGER,c627 INTEGER,c628 INTEGER,c629 INTEGER,c630 INTEGER,c631 INTEGER,c632 INTEGER,c633 INTEGER,c634 INTEGER,c635 INTEGER,c636 INTEGER,c637 INTEGER,c638 INTEGER,c639 INTEGER,c640 INTEGER,c641 INTEGER,c642 INTEGER,c643 INTEGER,c644 INTEGER,c645 INTEGER,c646 INTEGER,c647 INTEGER,c648 INTEGER,c649 INTEGER,c650 INTEGER,c651 INTEGER,c652 INTEGER,c653 INTEGER,c654 INTEGER,c655 INTEGER,c656 INTEGER,c657 INTEGER,c658 INTEGER,c659 INTEGER,c660 INTEGER,c661 INTEGER,c662 INTEGER,c663 INTEGER,c664 INTEGER,c665 INTEGER,c666 INTEGER,c667 INTEGER,c668 INTEGER,c669 INTEGER,c670 INTEGER,c671 INTEGER,c672 INTEGER,c673 INTEGER,c674 INTEGER,c675 INTEGER,c676 INTEGER,c677 INTEGER,c678 INTEGER,c679 INTEGER,c680 INTEGER,c681 INTEGER,c682 INTEGER,c683 INTEGER,c684 INTEGER,c685 INTEGER,c686 INTEGER,c687 INTEGER,c688 INTEGER,c689 INTEGER,c690 INTEGER,c691 INTEGER,c692 INTEGER,c693 INTEGER,c694 INTEGER,c695 INTEGER,c696 INTEGER,c697 INTEGER,c698 INTEGER,c699 INTEGER,c700 INTEGER,c701 INTEGER,c702 INTEGER,c703 INTEGER,c704 INTEGER,c705 INTEGER,c706 INTEGER,c707 INTEGER,c708 INTEGER,c709 INTEGER,c710 INTEGER,c711 INTEGER,c712 INTEGER,c713 INTEGER,c714 INTEGER,c715 INTEGER,c716 INTEGER,c717 INTEGER,c718 INTEGER,c719 INTEGER,c720 INTEGER,c721 INTEGER,c722 INTEGER,c723 INTEGER,c724 INTEGER,c725 INTEGER,c726 INTEGER,c727 INTEGER,c728 INTEGER,c729 INTEGER,c730 INTEGER,c731 INTEGER,c732 INTEGER,c733 INTEGER,c734 INTEGER,c735 INTEGER,c736 INTEGER,c737 INTEGER,c738 INTEGER,c739 INTEGER,c740 INTEGER,c741 INTEGER,c742 INTEGER,c743 INTEGER,c744 INTEGER,c745 INTEGER,c746 INTEGER,c747 INTEGER,c748 INTEGER,c749 INTEGER,c750 INTEGER,c751 INTEGER,c752 INTEGER,c753 INTEGER,c754 INTEGER,c755 INTEGER,c756 INTEGER,c757 INTEGER,c758 INTEGER,c759 INTEGER,c760 INTEGER,c761 INTEGER,c762 INTEGER,c763 INTEGER,c764 INTEGER,c765 INTEGER,c766 INTEGER,c767 INTEGER,c768 INTEGER,c769 INTEGER,c770 INTEGER,c771 INTEGER,c772 INTEGER,c773 INTEGER,c774 INTEGER,c775 INTEGER,c776 INTEGER,c777 INTEGER,c778 INTEGER,c779 INTEGER,c780 INTEGER,c781 INTEGER,c782 INTEGER,c783 INTEGER,c784 INTEGER,c785 INTEGER,c786 INTEGER,c787 INTEGER,c788 INTEGER,c789 INTEGER,c790 INTEGER,c791 INTEGER,c792 INTEGER,c793 INTEGER,c794 INTEGER,c795 INTEGER,c796 INTEGER,c797 INTEGER,c798 INTEGER,c799 INTEGER,c800 INTEGER,c801 INTEGER,c802 INTEGER,c803 INTEGER,c804 INTEGER,c805 INTEGER,c806 INTEGER,c807 INTEGER,c808 INTEGER,c809 INTEGER,c810 INTEGER,c811 INTEGER,c812 INTEGER,c813 INTEGER,c814 INTEGER,c815 INTEGER,c816 INTEGER,c817 INTEGER,c818 INTEGER,c819 INTEGER,c820 INTEGER,c821 INTEGER,c822 INTEGER,c823 INTEGER,c824 INTEGER,c825 INTEGER,c826 INTEGER,c827 INTEGER,c828 INTEGER,c829 INTEGER,c830 INTEGER,c831 INTEGER,c832 INTEGER,c833 INTEGER,c834 INTEGER,c835 INTEGER,c836 INTEGER,c837 INTEGER,c838 INTEGER,c839 INTEGER,c840 INTEGER,c841 INTEGER,c842 INTEGER,c843 INTEGER,c844 INTEGER,c845 INTEGER,c846 INTEGER,c847 INTEGER,c848 INTEGER,c849 INTEGER,c850 INTEGER,c851 INTEGER,c852 INTEGER,c853 INTEGER,c854 INTEGER,c855 INTEGER,c856 INTEGER,c857 INTEGER,c858 INTEGER,c859 INTEGER,c860 INTEGER,c861 INTEGER,c862 INTEGER,c863 INTEGER,c864 INTEGER,c865 INTEGER,c866 INTEGER,c867 INTEGER,c868 INTEGER,c869 INTEGER,c870 INTEGER,c871 INTEGER,c872 INTEGER,c873 INTEGER,c874 INTEGER,c875 INTEGER,c876 INTEGER,c877 INTEGER,c878 INTEGER,c879 INTEGER,c880 INTEGER,c881 INTEGER,c882 INTEGER,c883 INTEGER,c884 INTEGER,c885 INTEGER,c886 INTEGER,c887 INTEGER,c888 INTEGER,c889 INTEGER,c890 INTEGER,c891 INTEGER,c892 INTEGER,c893 INTEGER,c894 INTEGER,c895 INTEGER,c896 INTEGER,c897 INTEGER,c898 INTEGER,c899 INTEGER,c900 INTEGER,c901 INTEGER,c902 INTEGER,c903 INTEGER,c904 INTEGER,c905 INTEGER,c906 INTEGER,c907 INTEGER,c908 INTEGER,c909 INTEGER,c910 INTEGER,c911 INTEGER,c912 INTEGER,c913 INTEGER,c914 INTEGER,c915 INTEGER,c916 INTEGER,c917 INTEGER,c918 INTEGER,c919 INTEGER,c920 INTEGER,c921 INTEGER,c922 INTEGER,c923 INTEGER,c924 INTEGER,c925 INTEGER,c926 INTEGER,c927 INTEGER,c928 INTEGER,c929 INTEGER,c930 INTEGER,c931 INTEGER,c932 INTEGER,c933 INTEGER,c934 INTEGER,c935 INTEGER,c936 INTEGER,c937 INTEGER,c938 INTEGER,c939 INTEGER,c940 INTEGER,c941 INTEGER,c942 INTEGER,c943 INTEGER,c944 INTEGER,c945 INTEGER,c946 INTEGER,c947 INTEGER,c948 INTEGER,c949 INTEGER,c950 INTEGER,c951 INTEGER,c952 INTEGER,c953 INTEGER,c954 INTEGER,c955 INTEGER,c956 INTEGER,c957 INTEGER,c958 INTEGER,c959 INTEGER,c960 INTEGER,c961 INTEGER,c962 INTEGER,c963 INTEGER,c964 INTEGER,c965 INTEGER,c966 INTEGER,c967 INTEGER,c968 INTEGER,c969 INTEGER,c970 INTEGER,c971 INTEGER,c972 INTEGER,c973 INTEGER,c974 INTEGER,c975 INTEGER,c976 INTEGER,c977 INTEGER,c978 INTEGER,c979 INTEGER,c980 INTEGER,c981 INTEGER,c982 INTEGER,c983 INTEGER,c984 INTEGER,c985 INTEGER,c986 INTEGER,c987 INTEGER,c988 INTEGER,c989 INTEGER,c990 INTEGER,c991 INTEGER,c992 INTEGER,c993 INTEGER,c994 INTEGER,c995 INTEGER,c996 INTEGER,c997 INTEGER,c998 INTEGER,c999 INTEGER,c1000 INTEGER ) ; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1; +c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 c56 c57 c58 c59 c60 c61 c62 c63 c64 c65 c66 c67 c68 c69 c70 c71 c72 c73 c74 c75 c76 c77 c78 c79 c80 c81 c82 c83 c84 c85 c86 c87 c88 c89 c90 c91 c92 c93 c94 c95 c96 c97 c98 c99 c100 c101 c102 c103 c104 c105 c106 c107 c108 c109 c110 c111 c112 c113 c114 c115 c116 c117 c118 c119 c120 c121 c122 c123 c124 c125 c126 c127 c128 c129 c130 c131 c132 c133 c134 c135 c136 c137 c138 c139 c140 c141 c142 c143 c144 c145 c146 c147 c148 c149 c150 c151 c152 c153 c154 c155 c156 c157 c158 c159 c160 c161 c162 c163 c164 c165 c166 c167 c168 c169 c170 c171 c172 c173 c174 c175 c176 c177 c178 c179 c180 c181 c182 c183 c184 c185 c186 c187 c188 c189 c190 c191 c192 c193 c194 c195 c196 c197 c198 c199 c200 c201 c202 c203 c204 c205 c206 c207 c208 c209 c210 c211 c212 c213 c214 c215 c216 c217 c218 c219 c220 c221 c222 c223 c224 c225 c226 c227 c228 c229 c230 c231 c232 c233 c234 c235 c236 c237 c238 c239 c240 c241 c242 c243 c244 c245 c246 c247 c248 c249 c250 c251 c252 c253 c254 c255 c256 c257 c258 c259 c260 c261 c262 c263 c264 c265 c266 c267 c268 c269 c270 c271 c272 c273 c274 c275 c276 c277 c278 c279 c280 c281 c282 c283 c284 c285 c286 c287 c288 c289 c290 c291 c292 c293 c294 c295 c296 c297 c298 c299 c300 c301 c302 c303 c304 c305 c306 c307 c308 c309 c310 c311 c312 c313 c314 c315 c316 c317 c318 c319 c320 c321 c322 c323 c324 c325 c326 c327 c328 c329 c330 c331 c332 c333 c334 c335 c336 c337 c338 c339 c340 c341 c342 c343 c344 c345 c346 c347 c348 c349 c350 c351 c352 c353 c354 c355 c356 c357 c358 c359 c360 c361 c362 c363 c364 c365 c366 c367 c368 c369 c370 c371 c372 c373 c374 c375 c376 c377 c378 c379 c380 c381 c382 c383 c384 c385 c386 c387 c388 c389 c390 c391 c392 c393 c394 c395 c396 c397 c398 c399 c400 c401 c402 c403 c404 c405 c406 c407 c408 c409 c410 c411 c412 c413 c414 c415 c416 c417 c418 c419 c420 c421 c422 c423 c424 c425 c426 c427 c428 c429 c430 c431 c432 c433 c434 c435 c436 c437 c438 c439 c440 c441 c442 c443 c444 c445 c446 c447 c448 c449 c450 c451 c452 c453 c454 c455 c456 c457 c458 c459 c460 c461 c462 c463 c464 c465 c466 c467 c468 c469 c470 c471 c472 c473 c474 c475 c476 c477 c478 c479 c480 c481 c482 c483 c484 c485 c486 c487 c488 c489 c490 c491 c492 c493 c494 c495 c496 c497 c498 c499 c500 c501 c502 c503 c504 c505 c506 c507 c508 c509 c510 c511 c512 c513 c514 c515 c516 c517 c518 c519 c520 c521 c522 c523 c524 c525 c526 c527 c528 c529 c530 c531 c532 c533 c534 c535 c536 c537 c538 c539 c540 c541 c542 c543 c544 c545 c546 c547 c548 c549 c550 c551 c552 c553 c554 c555 c556 c557 c558 c559 c560 c561 c562 c563 c564 c565 c566 c567 c568 c569 c570 c571 c572 c573 c574 c575 c576 c577 c578 c579 c580 c581 c582 c583 c584 c585 c586 c587 c588 c589 c590 c591 c592 c593 c594 c595 c596 c597 c598 c599 c600 c601 c602 c603 c604 c605 c606 c607 c608 c609 c610 c611 c612 c613 c614 c615 c616 c617 c618 c619 c620 c621 c622 c623 c624 c625 c626 c627 c628 c629 c630 c631 c632 c633 c634 c635 c636 c637 c638 c639 c640 c641 c642 c643 c644 c645 c646 c647 c648 c649 c650 c651 c652 c653 c654 c655 c656 c657 c658 c659 c660 c661 c662 c663 c664 c665 c666 c667 c668 c669 c670 c671 c672 c673 c674 c675 c676 c677 c678 c679 c680 c681 c682 c683 c684 c685 c686 c687 c688 c689 c690 c691 c692 c693 c694 c695 c696 c697 c698 c699 c700 c701 c702 c703 c704 c705 c706 c707 c708 c709 c710 c711 c712 c713 c714 c715 c716 c717 c718 c719 c720 c721 c722 c723 c724 c725 c726 c727 c728 c729 c730 c731 c732 c733 c734 c735 c736 c737 c738 c739 c740 c741 c742 c743 c744 c745 c746 c747 c748 c749 c750 c751 c752 c753 c754 c755 c756 c757 c758 c759 c760 c761 c762 c763 c764 c765 c766 c767 c768 c769 c770 c771 c772 c773 c774 c775 c776 c777 c778 c779 c780 c781 c782 c783 c784 c785 c786 c787 c788 c789 c790 c791 c792 c793 c794 c795 c796 c797 c798 c799 c800 c801 c802 c803 c804 c805 c806 c807 c808 c809 c810 c811 c812 c813 c814 c815 c816 c817 c818 c819 c820 c821 c822 c823 c824 c825 c826 c827 c828 c829 c830 c831 c832 c833 c834 c835 c836 c837 c838 c839 c840 c841 c842 c843 c844 c845 c846 c847 c848 c849 c850 c851 c852 c853 c854 c855 c856 c857 c858 c859 c860 c861 c862 c863 c864 c865 c866 c867 c868 c869 c870 c871 c872 c873 c874 c875 c876 c877 c878 c879 c880 c881 c882 c883 c884 c885 c886 c887 c888 c889 c890 c891 c892 c893 c894 c895 c896 c897 c898 c899 c900 c901 c902 c903 c904 c905 c906 c907 c908 c909 c910 c911 c912 c913 c914 c915 c916 c917 c918 c919 c920 c921 c922 c923 c924 c925 c926 c927 c928 c929 c930 c931 c932 c933 c934 c935 c936 c937 c938 c939 c940 c941 c942 c943 c944 c945 c946 c947 c948 c949 c950 c951 c952 c953 c954 c955 c956 c957 c958 c959 c960 c961 c962 c963 c964 c965 c966 c967 c968 c969 c970 c971 c972 c973 c974 c975 c976 c977 c978 c979 c980 c981 c982 c983 c984 c985 c986 c987 c988 c989 c990 c991 c992 c993 c994 c995 c996 c997 c998 c999 c1000 +1 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/crash_manycolumns_string.result b/mysql-test/suite/engines/funcs/r/crash_manycolumns_string.result new file mode 100644 index 00000000..6a2acb7e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manycolumns_string.result @@ -0,0 +1,10 @@ +SET SESSION innodb_strict_mode=off; +call mtr.add_suppression("Row size too large (> 8126)*"); +CREATE TABLE t1 (c1 VARCHAR(10),c2 VARCHAR(10),c3 VARCHAR(10),c4 VARCHAR(10),c5 VARCHAR(10),c6 VARCHAR(10),c7 VARCHAR(10),c8 VARCHAR(10),c9 VARCHAR(10),c10 VARCHAR(10),c11 VARCHAR(10),c12 VARCHAR(10),c13 VARCHAR(10),c14 VARCHAR(10),c15 VARCHAR(10),c16 VARCHAR(10),c17 VARCHAR(10),c18 VARCHAR(10),c19 VARCHAR(10),c20 VARCHAR(10),c21 VARCHAR(10),c22 VARCHAR(10),c23 VARCHAR(10),c24 VARCHAR(10),c25 VARCHAR(10),c26 VARCHAR(10),c27 VARCHAR(10),c28 VARCHAR(10),c29 VARCHAR(10),c30 VARCHAR(10),c31 VARCHAR(10),c32 VARCHAR(10),c33 VARCHAR(10),c34 VARCHAR(10),c35 VARCHAR(10),c36 VARCHAR(10),c37 VARCHAR(10),c38 VARCHAR(10),c39 VARCHAR(10),c40 VARCHAR(10),c41 VARCHAR(10),c42 VARCHAR(10),c43 VARCHAR(10),c44 VARCHAR(10),c45 VARCHAR(10),c46 VARCHAR(10),c47 VARCHAR(10),c48 VARCHAR(10),c49 VARCHAR(10),c50 VARCHAR(10),c51 VARCHAR(10),c52 VARCHAR(10),c53 VARCHAR(10),c54 VARCHAR(10),c55 VARCHAR(10),c56 VARCHAR(10),c57 VARCHAR(10),c58 VARCHAR(10),c59 VARCHAR(10),c60 VARCHAR(10),c61 VARCHAR(10),c62 VARCHAR(10),c63 VARCHAR(10),c64 VARCHAR(10),c65 VARCHAR(10),c66 VARCHAR(10),c67 VARCHAR(10),c68 VARCHAR(10),c69 VARCHAR(10),c70 VARCHAR(10),c71 VARCHAR(10),c72 VARCHAR(10),c73 VARCHAR(10),c74 VARCHAR(10),c75 VARCHAR(10),c76 VARCHAR(10),c77 VARCHAR(10),c78 VARCHAR(10),c79 VARCHAR(10),c80 VARCHAR(10),c81 VARCHAR(10),c82 VARCHAR(10),c83 VARCHAR(10),c84 VARCHAR(10),c85 VARCHAR(10),c86 VARCHAR(10),c87 VARCHAR(10),c88 VARCHAR(10),c89 VARCHAR(10),c90 VARCHAR(10),c91 VARCHAR(10),c92 VARCHAR(10),c93 VARCHAR(10),c94 VARCHAR(10),c95 VARCHAR(10),c96 VARCHAR(10),c97 VARCHAR(10),c98 VARCHAR(10),c99 VARCHAR(10),c100 VARCHAR(10),c101 VARCHAR(10),c102 VARCHAR(10),c103 VARCHAR(10),c104 VARCHAR(10),c105 VARCHAR(10),c106 VARCHAR(10),c107 VARCHAR(10),c108 VARCHAR(10),c109 VARCHAR(10),c110 VARCHAR(10),c111 VARCHAR(10),c112 VARCHAR(10),c113 VARCHAR(10),c114 VARCHAR(10),c115 VARCHAR(10),c116 VARCHAR(10),c117 VARCHAR(10),c118 VARCHAR(10),c119 VARCHAR(10),c120 VARCHAR(10),c121 VARCHAR(10),c122 VARCHAR(10),c123 VARCHAR(10),c124 VARCHAR(10),c125 VARCHAR(10),c126 VARCHAR(10),c127 VARCHAR(10),c128 VARCHAR(10),c129 VARCHAR(10),c130 VARCHAR(10),c131 VARCHAR(10),c132 VARCHAR(10),c133 VARCHAR(10),c134 VARCHAR(10),c135 VARCHAR(10),c136 VARCHAR(10),c137 VARCHAR(10),c138 VARCHAR(10),c139 VARCHAR(10),c140 VARCHAR(10),c141 VARCHAR(10),c142 VARCHAR(10),c143 VARCHAR(10),c144 VARCHAR(10),c145 VARCHAR(10),c146 VARCHAR(10),c147 VARCHAR(10),c148 VARCHAR(10),c149 VARCHAR(10),c150 VARCHAR(10),c151 VARCHAR(10),c152 VARCHAR(10),c153 VARCHAR(10),c154 VARCHAR(10),c155 VARCHAR(10),c156 VARCHAR(10),c157 VARCHAR(10),c158 VARCHAR(10),c159 VARCHAR(10),c160 VARCHAR(10),c161 VARCHAR(10),c162 VARCHAR(10),c163 VARCHAR(10),c164 VARCHAR(10),c165 VARCHAR(10),c166 VARCHAR(10),c167 VARCHAR(10),c168 VARCHAR(10),c169 VARCHAR(10),c170 VARCHAR(10),c171 VARCHAR(10),c172 VARCHAR(10),c173 VARCHAR(10),c174 VARCHAR(10),c175 VARCHAR(10),c176 VARCHAR(10),c177 VARCHAR(10),c178 VARCHAR(10),c179 VARCHAR(10),c180 VARCHAR(10),c181 VARCHAR(10),c182 VARCHAR(10),c183 VARCHAR(10),c184 VARCHAR(10),c185 VARCHAR(10),c186 VARCHAR(10),c187 VARCHAR(10),c188 VARCHAR(10),c189 VARCHAR(10),c190 VARCHAR(10),c191 VARCHAR(10),c192 VARCHAR(10),c193 VARCHAR(10),c194 VARCHAR(10),c195 VARCHAR(10),c196 VARCHAR(10),c197 VARCHAR(10),c198 VARCHAR(10),c199 VARCHAR(10),c200 VARCHAR(10),c201 VARCHAR(10),c202 VARCHAR(10),c203 VARCHAR(10),c204 VARCHAR(10),c205 VARCHAR(10),c206 VARCHAR(10),c207 VARCHAR(10),c208 VARCHAR(10),c209 VARCHAR(10),c210 VARCHAR(10),c211 VARCHAR(10),c212 VARCHAR(10),c213 VARCHAR(10),c214 VARCHAR(10),c215 VARCHAR(10),c216 VARCHAR(10),c217 VARCHAR(10),c218 VARCHAR(10),c219 VARCHAR(10),c220 VARCHAR(10),c221 VARCHAR(10),c222 VARCHAR(10),c223 VARCHAR(10),c224 VARCHAR(10),c225 VARCHAR(10),c226 VARCHAR(10),c227 VARCHAR(10),c228 VARCHAR(10),c229 VARCHAR(10),c230 VARCHAR(10),c231 VARCHAR(10),c232 VARCHAR(10),c233 VARCHAR(10),c234 VARCHAR(10),c235 VARCHAR(10),c236 VARCHAR(10),c237 VARCHAR(10),c238 VARCHAR(10),c239 VARCHAR(10),c240 VARCHAR(10),c241 VARCHAR(10),c242 VARCHAR(10),c243 VARCHAR(10),c244 VARCHAR(10),c245 VARCHAR(10),c246 VARCHAR(10),c247 VARCHAR(10),c248 VARCHAR(10),c249 VARCHAR(10),c250 VARCHAR(10),c251 VARCHAR(10),c252 VARCHAR(10),c253 VARCHAR(10),c254 VARCHAR(10),c255 VARCHAR(10),c256 VARCHAR(10),c257 VARCHAR(10),c258 VARCHAR(10),c259 VARCHAR(10),c260 VARCHAR(10),c261 VARCHAR(10),c262 VARCHAR(10),c263 VARCHAR(10),c264 VARCHAR(10),c265 VARCHAR(10),c266 VARCHAR(10),c267 VARCHAR(10),c268 VARCHAR(10),c269 VARCHAR(10),c270 VARCHAR(10),c271 VARCHAR(10),c272 VARCHAR(10),c273 VARCHAR(10),c274 VARCHAR(10),c275 VARCHAR(10),c276 VARCHAR(10),c277 VARCHAR(10),c278 VARCHAR(10),c279 VARCHAR(10),c280 VARCHAR(10),c281 VARCHAR(10),c282 VARCHAR(10),c283 VARCHAR(10),c284 VARCHAR(10),c285 VARCHAR(10),c286 VARCHAR(10),c287 VARCHAR(10),c288 VARCHAR(10),c289 VARCHAR(10),c290 VARCHAR(10),c291 VARCHAR(10),c292 VARCHAR(10),c293 VARCHAR(10),c294 VARCHAR(10),c295 VARCHAR(10),c296 VARCHAR(10),c297 VARCHAR(10),c298 VARCHAR(10),c299 VARCHAR(10),c300 VARCHAR(10),c301 VARCHAR(10),c302 VARCHAR(10),c303 VARCHAR(10),c304 VARCHAR(10),c305 VARCHAR(10),c306 VARCHAR(10),c307 VARCHAR(10),c308 VARCHAR(10),c309 VARCHAR(10),c310 VARCHAR(10),c311 VARCHAR(10),c312 VARCHAR(10),c313 VARCHAR(10),c314 VARCHAR(10),c315 VARCHAR(10),c316 VARCHAR(10),c317 VARCHAR(10),c318 VARCHAR(10),c319 VARCHAR(10),c320 VARCHAR(10),c321 VARCHAR(10),c322 VARCHAR(10),c323 VARCHAR(10),c324 VARCHAR(10),c325 VARCHAR(10),c326 VARCHAR(10),c327 VARCHAR(10),c328 VARCHAR(10),c329 VARCHAR(10),c330 VARCHAR(10),c331 VARCHAR(10),c332 VARCHAR(10),c333 VARCHAR(10),c334 VARCHAR(10),c335 VARCHAR(10),c336 VARCHAR(10),c337 VARCHAR(10),c338 VARCHAR(10),c339 VARCHAR(10),c340 VARCHAR(10),c341 VARCHAR(10),c342 VARCHAR(10),c343 VARCHAR(10),c344 VARCHAR(10),c345 VARCHAR(10),c346 VARCHAR(10),c347 VARCHAR(10),c348 VARCHAR(10),c349 VARCHAR(10),c350 VARCHAR(10),c351 VARCHAR(10),c352 VARCHAR(10),c353 VARCHAR(10),c354 VARCHAR(10),c355 VARCHAR(10),c356 VARCHAR(10),c357 VARCHAR(10),c358 VARCHAR(10),c359 VARCHAR(10),c360 VARCHAR(10),c361 VARCHAR(10),c362 VARCHAR(10),c363 VARCHAR(10),c364 VARCHAR(10),c365 VARCHAR(10),c366 VARCHAR(10),c367 VARCHAR(10),c368 VARCHAR(10),c369 VARCHAR(10),c370 VARCHAR(10),c371 VARCHAR(10),c372 VARCHAR(10),c373 VARCHAR(10),c374 VARCHAR(10),c375 VARCHAR(10),c376 VARCHAR(10),c377 VARCHAR(10),c378 VARCHAR(10),c379 VARCHAR(10),c380 VARCHAR(10),c381 VARCHAR(10),c382 VARCHAR(10),c383 VARCHAR(10),c384 VARCHAR(10),c385 VARCHAR(10),c386 VARCHAR(10),c387 VARCHAR(10),c388 VARCHAR(10),c389 VARCHAR(10),c390 VARCHAR(10),c391 VARCHAR(10),c392 VARCHAR(10),c393 VARCHAR(10),c394 VARCHAR(10),c395 VARCHAR(10),c396 VARCHAR(10),c397 VARCHAR(10),c398 VARCHAR(10),c399 VARCHAR(10),c400 VARCHAR(10),c401 VARCHAR(10),c402 VARCHAR(10),c403 VARCHAR(10),c404 VARCHAR(10),c405 VARCHAR(10),c406 VARCHAR(10),c407 VARCHAR(10),c408 VARCHAR(10),c409 VARCHAR(10),c410 VARCHAR(10),c411 VARCHAR(10),c412 VARCHAR(10),c413 VARCHAR(10),c414 VARCHAR(10),c415 VARCHAR(10),c416 VARCHAR(10),c417 VARCHAR(10),c418 VARCHAR(10),c419 VARCHAR(10),c420 VARCHAR(10),c421 VARCHAR(10),c422 VARCHAR(10),c423 VARCHAR(10),c424 VARCHAR(10),c425 VARCHAR(10),c426 VARCHAR(10),c427 VARCHAR(10),c428 VARCHAR(10),c429 VARCHAR(10),c430 VARCHAR(10),c431 VARCHAR(10),c432 VARCHAR(10),c433 VARCHAR(10),c434 VARCHAR(10),c435 VARCHAR(10),c436 VARCHAR(10),c437 VARCHAR(10),c438 VARCHAR(10),c439 VARCHAR(10),c440 VARCHAR(10),c441 VARCHAR(10),c442 VARCHAR(10),c443 VARCHAR(10),c444 VARCHAR(10),c445 VARCHAR(10),c446 VARCHAR(10),c447 VARCHAR(10),c448 VARCHAR(10),c449 VARCHAR(10),c450 VARCHAR(10),c451 VARCHAR(10),c452 VARCHAR(10),c453 VARCHAR(10),c454 VARCHAR(10),c455 VARCHAR(10),c456 VARCHAR(10),c457 VARCHAR(10),c458 VARCHAR(10),c459 VARCHAR(10),c460 VARCHAR(10),c461 VARCHAR(10),c462 VARCHAR(10),c463 VARCHAR(10),c464 VARCHAR(10),c465 VARCHAR(10),c466 VARCHAR(10),c467 VARCHAR(10),c468 VARCHAR(10),c469 VARCHAR(10),c470 VARCHAR(10),c471 VARCHAR(10),c472 VARCHAR(10),c473 VARCHAR(10),c474 VARCHAR(10),c475 VARCHAR(10),c476 VARCHAR(10),c477 VARCHAR(10),c478 VARCHAR(10),c479 VARCHAR(10),c480 VARCHAR(10),c481 VARCHAR(10),c482 VARCHAR(10),c483 VARCHAR(10),c484 VARCHAR(10),c485 VARCHAR(10),c486 VARCHAR(10),c487 VARCHAR(10),c488 VARCHAR(10),c489 VARCHAR(10),c490 VARCHAR(10),c491 VARCHAR(10),c492 VARCHAR(10),c493 VARCHAR(10),c494 VARCHAR(10),c495 VARCHAR(10),c496 VARCHAR(10),c497 VARCHAR(10),c498 VARCHAR(10),c499 VARCHAR(10),c500 VARCHAR(10),c501 VARCHAR(10),c502 VARCHAR(10),c503 VARCHAR(10),c504 VARCHAR(10),c505 VARCHAR(10),c506 VARCHAR(10),c507 VARCHAR(10),c508 VARCHAR(10),c509 VARCHAR(10),c510 VARCHAR(10),c511 VARCHAR(10),c512 VARCHAR(10),c513 VARCHAR(10),c514 VARCHAR(10),c515 VARCHAR(10),c516 VARCHAR(10),c517 VARCHAR(10),c518 VARCHAR(10),c519 VARCHAR(10),c520 VARCHAR(10),c521 VARCHAR(10),c522 VARCHAR(10),c523 VARCHAR(10),c524 VARCHAR(10),c525 VARCHAR(10),c526 VARCHAR(10),c527 VARCHAR(10),c528 VARCHAR(10),c529 VARCHAR(10),c530 VARCHAR(10),c531 VARCHAR(10),c532 VARCHAR(10),c533 VARCHAR(10),c534 VARCHAR(10),c535 VARCHAR(10),c536 VARCHAR(10),c537 VARCHAR(10),c538 VARCHAR(10),c539 VARCHAR(10),c540 VARCHAR(10),c541 VARCHAR(10),c542 VARCHAR(10),c543 VARCHAR(10),c544 VARCHAR(10),c545 VARCHAR(10),c546 VARCHAR(10),c547 VARCHAR(10),c548 VARCHAR(10),c549 VARCHAR(10),c550 VARCHAR(10),c551 VARCHAR(10),c552 VARCHAR(10),c553 VARCHAR(10),c554 VARCHAR(10),c555 VARCHAR(10),c556 VARCHAR(10),c557 VARCHAR(10),c558 VARCHAR(10),c559 VARCHAR(10),c560 VARCHAR(10),c561 VARCHAR(10),c562 VARCHAR(10),c563 VARCHAR(10),c564 VARCHAR(10),c565 VARCHAR(10),c566 VARCHAR(10),c567 VARCHAR(10),c568 VARCHAR(10),c569 VARCHAR(10),c570 VARCHAR(10),c571 VARCHAR(10),c572 VARCHAR(10),c573 VARCHAR(10),c574 VARCHAR(10),c575 VARCHAR(10),c576 VARCHAR(10),c577 VARCHAR(10),c578 VARCHAR(10),c579 VARCHAR(10),c580 VARCHAR(10),c581 VARCHAR(10),c582 VARCHAR(10),c583 VARCHAR(10),c584 VARCHAR(10),c585 VARCHAR(10),c586 VARCHAR(10),c587 VARCHAR(10),c588 VARCHAR(10),c589 VARCHAR(10),c590 VARCHAR(10),c591 VARCHAR(10),c592 VARCHAR(10),c593 VARCHAR(10),c594 VARCHAR(10),c595 VARCHAR(10),c596 VARCHAR(10),c597 VARCHAR(10),c598 VARCHAR(10),c599 VARCHAR(10),c600 VARCHAR(10),c601 VARCHAR(10),c602 VARCHAR(10),c603 VARCHAR(10),c604 VARCHAR(10),c605 VARCHAR(10),c606 VARCHAR(10),c607 VARCHAR(10),c608 VARCHAR(10),c609 VARCHAR(10),c610 VARCHAR(10),c611 VARCHAR(10),c612 VARCHAR(10),c613 VARCHAR(10),c614 VARCHAR(10),c615 VARCHAR(10),c616 VARCHAR(10),c617 VARCHAR(10),c618 VARCHAR(10),c619 VARCHAR(10),c620 VARCHAR(10),c621 VARCHAR(10),c622 VARCHAR(10),c623 VARCHAR(10),c624 VARCHAR(10),c625 VARCHAR(10),c626 VARCHAR(10),c627 VARCHAR(10),c628 VARCHAR(10),c629 VARCHAR(10),c630 VARCHAR(10),c631 VARCHAR(10),c632 VARCHAR(10),c633 VARCHAR(10),c634 VARCHAR(10),c635 VARCHAR(10),c636 VARCHAR(10),c637 VARCHAR(10),c638 VARCHAR(10),c639 VARCHAR(10),c640 VARCHAR(10),c641 VARCHAR(10),c642 VARCHAR(10),c643 VARCHAR(10),c644 VARCHAR(10),c645 VARCHAR(10),c646 VARCHAR(10),c647 VARCHAR(10),c648 VARCHAR(10),c649 VARCHAR(10),c650 VARCHAR(10),c651 VARCHAR(10),c652 VARCHAR(10),c653 VARCHAR(10),c654 VARCHAR(10),c655 VARCHAR(10),c656 VARCHAR(10),c657 VARCHAR(10),c658 VARCHAR(10),c659 VARCHAR(10),c660 VARCHAR(10),c661 VARCHAR(10),c662 VARCHAR(10),c663 VARCHAR(10),c664 VARCHAR(10),c665 VARCHAR(10),c666 VARCHAR(10),c667 VARCHAR(10),c668 VARCHAR(10),c669 VARCHAR(10),c670 VARCHAR(10),c671 VARCHAR(10),c672 VARCHAR(10),c673 VARCHAR(10),c674 VARCHAR(10),c675 VARCHAR(10),c676 VARCHAR(10),c677 VARCHAR(10),c678 VARCHAR(10),c679 VARCHAR(10),c680 VARCHAR(10),c681 VARCHAR(10),c682 VARCHAR(10),c683 VARCHAR(10),c684 VARCHAR(10),c685 VARCHAR(10),c686 VARCHAR(10),c687 VARCHAR(10),c688 VARCHAR(10),c689 VARCHAR(10),c690 VARCHAR(10),c691 VARCHAR(10),c692 VARCHAR(10),c693 VARCHAR(10),c694 VARCHAR(10),c695 VARCHAR(10),c696 VARCHAR(10),c697 VARCHAR(10),c698 VARCHAR(10),c699 VARCHAR(10),c700 VARCHAR(10),c701 VARCHAR(10),c702 VARCHAR(10),c703 VARCHAR(10),c704 VARCHAR(10),c705 VARCHAR(10),c706 VARCHAR(10),c707 VARCHAR(10),c708 VARCHAR(10),c709 VARCHAR(10),c710 VARCHAR(10),c711 VARCHAR(10),c712 VARCHAR(10),c713 VARCHAR(10),c714 VARCHAR(10),c715 VARCHAR(10),c716 VARCHAR(10),c717 VARCHAR(10),c718 VARCHAR(10),c719 VARCHAR(10),c720 VARCHAR(10),c721 VARCHAR(10),c722 VARCHAR(10),c723 VARCHAR(10),c724 VARCHAR(10),c725 VARCHAR(10),c726 VARCHAR(10),c727 VARCHAR(10),c728 VARCHAR(10),c729 VARCHAR(10),c730 VARCHAR(10),c731 VARCHAR(10),c732 VARCHAR(10),c733 VARCHAR(10),c734 VARCHAR(10),c735 VARCHAR(10),c736 VARCHAR(10),c737 VARCHAR(10),c738 VARCHAR(10),c739 VARCHAR(10),c740 VARCHAR(10),c741 VARCHAR(10),c742 VARCHAR(10),c743 VARCHAR(10),c744 VARCHAR(10),c745 VARCHAR(10),c746 VARCHAR(10),c747 VARCHAR(10),c748 VARCHAR(10),c749 VARCHAR(10),c750 VARCHAR(10),c751 VARCHAR(10),c752 VARCHAR(10),c753 VARCHAR(10),c754 VARCHAR(10),c755 VARCHAR(10),c756 VARCHAR(10),c757 VARCHAR(10),c758 VARCHAR(10),c759 VARCHAR(10),c760 VARCHAR(10),c761 VARCHAR(10),c762 VARCHAR(10),c763 VARCHAR(10),c764 VARCHAR(10),c765 VARCHAR(10),c766 VARCHAR(10),c767 VARCHAR(10),c768 VARCHAR(10),c769 VARCHAR(10),c770 VARCHAR(10),c771 VARCHAR(10),c772 VARCHAR(10),c773 VARCHAR(10),c774 VARCHAR(10),c775 VARCHAR(10),c776 VARCHAR(10),c777 VARCHAR(10),c778 VARCHAR(10),c779 VARCHAR(10),c780 VARCHAR(10),c781 VARCHAR(10),c782 VARCHAR(10),c783 VARCHAR(10),c784 VARCHAR(10),c785 VARCHAR(10),c786 VARCHAR(10),c787 VARCHAR(10),c788 VARCHAR(10),c789 VARCHAR(10),c790 VARCHAR(10),c791 VARCHAR(10),c792 VARCHAR(10),c793 VARCHAR(10),c794 VARCHAR(10),c795 VARCHAR(10),c796 VARCHAR(10),c797 VARCHAR(10),c798 VARCHAR(10),c799 VARCHAR(10),c800 VARCHAR(10),c801 VARCHAR(10),c802 VARCHAR(10),c803 VARCHAR(10),c804 VARCHAR(10),c805 VARCHAR(10),c806 VARCHAR(10),c807 VARCHAR(10),c808 VARCHAR(10),c809 VARCHAR(10),c810 VARCHAR(10),c811 VARCHAR(10),c812 VARCHAR(10),c813 VARCHAR(10),c814 VARCHAR(10),c815 VARCHAR(10),c816 VARCHAR(10),c817 VARCHAR(10),c818 VARCHAR(10),c819 VARCHAR(10),c820 VARCHAR(10),c821 VARCHAR(10),c822 VARCHAR(10),c823 VARCHAR(10),c824 VARCHAR(10),c825 VARCHAR(10),c826 VARCHAR(10),c827 VARCHAR(10),c828 VARCHAR(10),c829 VARCHAR(10),c830 VARCHAR(10),c831 VARCHAR(10),c832 VARCHAR(10),c833 VARCHAR(10),c834 VARCHAR(10),c835 VARCHAR(10),c836 VARCHAR(10),c837 VARCHAR(10),c838 VARCHAR(10),c839 VARCHAR(10),c840 VARCHAR(10),c841 VARCHAR(10),c842 VARCHAR(10),c843 VARCHAR(10),c844 VARCHAR(10),c845 VARCHAR(10),c846 VARCHAR(10),c847 VARCHAR(10),c848 VARCHAR(10),c849 VARCHAR(10),c850 VARCHAR(10),c851 VARCHAR(10),c852 VARCHAR(10),c853 VARCHAR(10),c854 VARCHAR(10),c855 VARCHAR(10),c856 VARCHAR(10),c857 VARCHAR(10),c858 VARCHAR(10),c859 VARCHAR(10),c860 VARCHAR(10),c861 VARCHAR(10),c862 VARCHAR(10),c863 VARCHAR(10),c864 VARCHAR(10),c865 VARCHAR(10),c866 VARCHAR(10),c867 VARCHAR(10),c868 VARCHAR(10),c869 VARCHAR(10),c870 VARCHAR(10),c871 VARCHAR(10),c872 VARCHAR(10),c873 VARCHAR(10),c874 VARCHAR(10),c875 VARCHAR(10),c876 VARCHAR(10),c877 VARCHAR(10),c878 VARCHAR(10),c879 VARCHAR(10),c880 VARCHAR(10),c881 VARCHAR(10),c882 VARCHAR(10),c883 VARCHAR(10),c884 VARCHAR(10),c885 VARCHAR(10),c886 VARCHAR(10),c887 VARCHAR(10),c888 VARCHAR(10),c889 VARCHAR(10),c890 VARCHAR(10),c891 VARCHAR(10),c892 VARCHAR(10),c893 VARCHAR(10),c894 VARCHAR(10),c895 VARCHAR(10),c896 VARCHAR(10),c897 VARCHAR(10),c898 VARCHAR(10),c899 VARCHAR(10),c900 VARCHAR(10),c901 VARCHAR(10),c902 VARCHAR(10),c903 VARCHAR(10),c904 VARCHAR(10),c905 VARCHAR(10),c906 VARCHAR(10),c907 VARCHAR(10),c908 VARCHAR(10),c909 VARCHAR(10),c910 VARCHAR(10),c911 VARCHAR(10),c912 VARCHAR(10),c913 VARCHAR(10),c914 VARCHAR(10),c915 VARCHAR(10),c916 VARCHAR(10),c917 VARCHAR(10),c918 VARCHAR(10),c919 VARCHAR(10),c920 VARCHAR(10),c921 VARCHAR(10),c922 VARCHAR(10),c923 VARCHAR(10),c924 VARCHAR(10),c925 VARCHAR(10),c926 VARCHAR(10),c927 VARCHAR(10),c928 VARCHAR(10),c929 VARCHAR(10),c930 VARCHAR(10),c931 VARCHAR(10),c932 VARCHAR(10),c933 VARCHAR(10),c934 VARCHAR(10),c935 VARCHAR(10),c936 VARCHAR(10),c937 VARCHAR(10),c938 VARCHAR(10),c939 VARCHAR(10),c940 VARCHAR(10),c941 VARCHAR(10),c942 VARCHAR(10),c943 VARCHAR(10),c944 VARCHAR(10),c945 VARCHAR(10),c946 VARCHAR(10),c947 VARCHAR(10),c948 VARCHAR(10),c949 VARCHAR(10),c950 VARCHAR(10),c951 VARCHAR(10),c952 VARCHAR(10),c953 VARCHAR(10),c954 VARCHAR(10),c955 VARCHAR(10),c956 VARCHAR(10),c957 VARCHAR(10),c958 VARCHAR(10),c959 VARCHAR(10),c960 VARCHAR(10),c961 VARCHAR(10),c962 VARCHAR(10),c963 VARCHAR(10),c964 VARCHAR(10),c965 VARCHAR(10),c966 VARCHAR(10),c967 VARCHAR(10),c968 VARCHAR(10),c969 VARCHAR(10),c970 VARCHAR(10),c971 VARCHAR(10),c972 VARCHAR(10),c973 VARCHAR(10),c974 VARCHAR(10),c975 VARCHAR(10),c976 VARCHAR(10),c977 VARCHAR(10),c978 VARCHAR(10),c979 VARCHAR(10),c980 VARCHAR(10),c981 VARCHAR(10),c982 VARCHAR(10),c983 VARCHAR(10),c984 VARCHAR(10),c985 VARCHAR(10),c986 VARCHAR(10),c987 VARCHAR(10),c988 VARCHAR(10),c989 VARCHAR(10),c990 VARCHAR(10),c991 VARCHAR(10),c992 VARCHAR(10),c993 VARCHAR(10),c994 VARCHAR(10),c995 VARCHAR(10),c996 VARCHAR(10),c997 VARCHAR(10),c998 VARCHAR(10),c999 VARCHAR(10),c1000 VARCHAR(10) ) ; +Warnings: +Warning 139 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. +INSERT INTO t1(c1) VALUES('abc'); +SELECT * FROM t1; +c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 c56 c57 c58 c59 c60 c61 c62 c63 c64 c65 c66 c67 c68 c69 c70 c71 c72 c73 c74 c75 c76 c77 c78 c79 c80 c81 c82 c83 c84 c85 c86 c87 c88 c89 c90 c91 c92 c93 c94 c95 c96 c97 c98 c99 c100 c101 c102 c103 c104 c105 c106 c107 c108 c109 c110 c111 c112 c113 c114 c115 c116 c117 c118 c119 c120 c121 c122 c123 c124 c125 c126 c127 c128 c129 c130 c131 c132 c133 c134 c135 c136 c137 c138 c139 c140 c141 c142 c143 c144 c145 c146 c147 c148 c149 c150 c151 c152 c153 c154 c155 c156 c157 c158 c159 c160 c161 c162 c163 c164 c165 c166 c167 c168 c169 c170 c171 c172 c173 c174 c175 c176 c177 c178 c179 c180 c181 c182 c183 c184 c185 c186 c187 c188 c189 c190 c191 c192 c193 c194 c195 c196 c197 c198 c199 c200 c201 c202 c203 c204 c205 c206 c207 c208 c209 c210 c211 c212 c213 c214 c215 c216 c217 c218 c219 c220 c221 c222 c223 c224 c225 c226 c227 c228 c229 c230 c231 c232 c233 c234 c235 c236 c237 c238 c239 c240 c241 c242 c243 c244 c245 c246 c247 c248 c249 c250 c251 c252 c253 c254 c255 c256 c257 c258 c259 c260 c261 c262 c263 c264 c265 c266 c267 c268 c269 c270 c271 c272 c273 c274 c275 c276 c277 c278 c279 c280 c281 c282 c283 c284 c285 c286 c287 c288 c289 c290 c291 c292 c293 c294 c295 c296 c297 c298 c299 c300 c301 c302 c303 c304 c305 c306 c307 c308 c309 c310 c311 c312 c313 c314 c315 c316 c317 c318 c319 c320 c321 c322 c323 c324 c325 c326 c327 c328 c329 c330 c331 c332 c333 c334 c335 c336 c337 c338 c339 c340 c341 c342 c343 c344 c345 c346 c347 c348 c349 c350 c351 c352 c353 c354 c355 c356 c357 c358 c359 c360 c361 c362 c363 c364 c365 c366 c367 c368 c369 c370 c371 c372 c373 c374 c375 c376 c377 c378 c379 c380 c381 c382 c383 c384 c385 c386 c387 c388 c389 c390 c391 c392 c393 c394 c395 c396 c397 c398 c399 c400 c401 c402 c403 c404 c405 c406 c407 c408 c409 c410 c411 c412 c413 c414 c415 c416 c417 c418 c419 c420 c421 c422 c423 c424 c425 c426 c427 c428 c429 c430 c431 c432 c433 c434 c435 c436 c437 c438 c439 c440 c441 c442 c443 c444 c445 c446 c447 c448 c449 c450 c451 c452 c453 c454 c455 c456 c457 c458 c459 c460 c461 c462 c463 c464 c465 c466 c467 c468 c469 c470 c471 c472 c473 c474 c475 c476 c477 c478 c479 c480 c481 c482 c483 c484 c485 c486 c487 c488 c489 c490 c491 c492 c493 c494 c495 c496 c497 c498 c499 c500 c501 c502 c503 c504 c505 c506 c507 c508 c509 c510 c511 c512 c513 c514 c515 c516 c517 c518 c519 c520 c521 c522 c523 c524 c525 c526 c527 c528 c529 c530 c531 c532 c533 c534 c535 c536 c537 c538 c539 c540 c541 c542 c543 c544 c545 c546 c547 c548 c549 c550 c551 c552 c553 c554 c555 c556 c557 c558 c559 c560 c561 c562 c563 c564 c565 c566 c567 c568 c569 c570 c571 c572 c573 c574 c575 c576 c577 c578 c579 c580 c581 c582 c583 c584 c585 c586 c587 c588 c589 c590 c591 c592 c593 c594 c595 c596 c597 c598 c599 c600 c601 c602 c603 c604 c605 c606 c607 c608 c609 c610 c611 c612 c613 c614 c615 c616 c617 c618 c619 c620 c621 c622 c623 c624 c625 c626 c627 c628 c629 c630 c631 c632 c633 c634 c635 c636 c637 c638 c639 c640 c641 c642 c643 c644 c645 c646 c647 c648 c649 c650 c651 c652 c653 c654 c655 c656 c657 c658 c659 c660 c661 c662 c663 c664 c665 c666 c667 c668 c669 c670 c671 c672 c673 c674 c675 c676 c677 c678 c679 c680 c681 c682 c683 c684 c685 c686 c687 c688 c689 c690 c691 c692 c693 c694 c695 c696 c697 c698 c699 c700 c701 c702 c703 c704 c705 c706 c707 c708 c709 c710 c711 c712 c713 c714 c715 c716 c717 c718 c719 c720 c721 c722 c723 c724 c725 c726 c727 c728 c729 c730 c731 c732 c733 c734 c735 c736 c737 c738 c739 c740 c741 c742 c743 c744 c745 c746 c747 c748 c749 c750 c751 c752 c753 c754 c755 c756 c757 c758 c759 c760 c761 c762 c763 c764 c765 c766 c767 c768 c769 c770 c771 c772 c773 c774 c775 c776 c777 c778 c779 c780 c781 c782 c783 c784 c785 c786 c787 c788 c789 c790 c791 c792 c793 c794 c795 c796 c797 c798 c799 c800 c801 c802 c803 c804 c805 c806 c807 c808 c809 c810 c811 c812 c813 c814 c815 c816 c817 c818 c819 c820 c821 c822 c823 c824 c825 c826 c827 c828 c829 c830 c831 c832 c833 c834 c835 c836 c837 c838 c839 c840 c841 c842 c843 c844 c845 c846 c847 c848 c849 c850 c851 c852 c853 c854 c855 c856 c857 c858 c859 c860 c861 c862 c863 c864 c865 c866 c867 c868 c869 c870 c871 c872 c873 c874 c875 c876 c877 c878 c879 c880 c881 c882 c883 c884 c885 c886 c887 c888 c889 c890 c891 c892 c893 c894 c895 c896 c897 c898 c899 c900 c901 c902 c903 c904 c905 c906 c907 c908 c909 c910 c911 c912 c913 c914 c915 c916 c917 c918 c919 c920 c921 c922 c923 c924 c925 c926 c927 c928 c929 c930 c931 c932 c933 c934 c935 c936 c937 c938 c939 c940 c941 c942 c943 c944 c945 c946 c947 c948 c949 c950 c951 c952 c953 c954 c955 c956 c957 c958 c959 c960 c961 c962 c963 c964 c965 c966 c967 c968 c969 c970 c971 c972 c973 c974 c975 c976 c977 c978 c979 c980 c981 c982 c983 c984 c985 c986 c987 c988 c989 c990 c991 c992 c993 c994 c995 c996 c997 c998 c999 c1000 +abc NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/crash_manyindexes_number.result b/mysql-test/suite/engines/funcs/r/crash_manyindexes_number.result new file mode 100644 index 00000000..f105376d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manyindexes_number.result @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER,c2 INTEGER,c3 INTEGER,c4 INTEGER,c5 INTEGER,c6 INTEGER,c7 INTEGER,c8 INTEGER,c9 INTEGER,c10 INTEGER,c11 INTEGER,c12 INTEGER,c13 INTEGER,c14 INTEGER,c15 INTEGER,c16 INTEGER,c17 INTEGER,c18 INTEGER,c19 INTEGER,c20 INTEGER,c21 INTEGER,c22 INTEGER,c23 INTEGER,c24 INTEGER,c25 INTEGER,c26 INTEGER,c27 INTEGER,c28 INTEGER,c29 INTEGER,c30 INTEGER,c31 INTEGER,c32 INTEGER,c33 INTEGER,c34 INTEGER,c35 INTEGER,c36 INTEGER,c37 INTEGER,c38 INTEGER,c39 INTEGER,c40 INTEGER,c41 INTEGER,c42 INTEGER,c43 INTEGER,c44 INTEGER,c45 INTEGER,c46 INTEGER,c47 INTEGER,c48 INTEGER,c49 INTEGER,c50 INTEGER,c51 INTEGER,c52 INTEGER,c53 INTEGER,c54 INTEGER,c55 INTEGER,c56 INTEGER,c57 INTEGER,c58 INTEGER,c59 INTEGER,c60 INTEGER,c61 INTEGER,c62 INTEGER,c63 INTEGER,c64 INTEGER,c65 INTEGER,c66 INTEGER,c67 INTEGER,c68 INTEGER,c69 INTEGER,c70 INTEGER,c71 INTEGER,c72 INTEGER,c73 INTEGER,c74 INTEGER,c75 INTEGER,c76 INTEGER,c77 INTEGER,c78 INTEGER,c79 INTEGER,c80 INTEGER,c81 INTEGER,c82 INTEGER,c83 INTEGER,c84 INTEGER,c85 INTEGER,c86 INTEGER,c87 INTEGER,c88 INTEGER,c89 INTEGER,c90 INTEGER,c91 INTEGER,c92 INTEGER,c93 INTEGER,c94 INTEGER,c95 INTEGER,c96 INTEGER,c97 INTEGER,c98 INTEGER,c99 INTEGER,c100 INTEGER,c101 INTEGER,c102 INTEGER,c103 INTEGER,c104 INTEGER,c105 INTEGER,c106 INTEGER,c107 INTEGER,c108 INTEGER,c109 INTEGER,c110 INTEGER,c111 INTEGER,c112 INTEGER,c113 INTEGER,c114 INTEGER,c115 INTEGER,c116 INTEGER,c117 INTEGER,c118 INTEGER,c119 INTEGER,c120 INTEGER,c121 INTEGER,c122 INTEGER,c123 INTEGER,c124 INTEGER,c125 INTEGER,c126 INTEGER,c127 INTEGER,c128 INTEGER,c129 INTEGER,c130 INTEGER,c131 INTEGER,c132 INTEGER,c133 INTEGER,c134 INTEGER,c135 INTEGER,c136 INTEGER,c137 INTEGER,c138 INTEGER,c139 INTEGER,c140 INTEGER,c141 INTEGER,c142 INTEGER,c143 INTEGER,c144 INTEGER,c145 INTEGER,c146 INTEGER,c147 INTEGER,c148 INTEGER,c149 INTEGER,c150 INTEGER,c151 INTEGER,c152 INTEGER,c153 INTEGER,c154 INTEGER,c155 INTEGER,c156 INTEGER,c157 INTEGER,c158 INTEGER,c159 INTEGER,c160 INTEGER,c161 INTEGER,c162 INTEGER,c163 INTEGER,c164 INTEGER,c165 INTEGER,c166 INTEGER,c167 INTEGER,c168 INTEGER,c169 INTEGER,c170 INTEGER,c171 INTEGER,c172 INTEGER,c173 INTEGER,c174 INTEGER,c175 INTEGER,c176 INTEGER,c177 INTEGER,c178 INTEGER,c179 INTEGER,c180 INTEGER,c181 INTEGER,c182 INTEGER,c183 INTEGER,c184 INTEGER,c185 INTEGER,c186 INTEGER,c187 INTEGER,c188 INTEGER,c189 INTEGER,c190 INTEGER,c191 INTEGER,c192 INTEGER,c193 INTEGER,c194 INTEGER,c195 INTEGER,c196 INTEGER,c197 INTEGER,c198 INTEGER,c199 INTEGER,c200 INTEGER,c201 INTEGER,c202 INTEGER,c203 INTEGER,c204 INTEGER,c205 INTEGER,c206 INTEGER,c207 INTEGER,c208 INTEGER,c209 INTEGER,c210 INTEGER,c211 INTEGER,c212 INTEGER,c213 INTEGER,c214 INTEGER,c215 INTEGER,c216 INTEGER,c217 INTEGER,c218 INTEGER,c219 INTEGER,c220 INTEGER,c221 INTEGER,c222 INTEGER,c223 INTEGER,c224 INTEGER,c225 INTEGER,c226 INTEGER,c227 INTEGER,c228 INTEGER,c229 INTEGER,c230 INTEGER,c231 INTEGER,c232 INTEGER,c233 INTEGER,c234 INTEGER,c235 INTEGER,c236 INTEGER,c237 INTEGER,c238 INTEGER,c239 INTEGER,c240 INTEGER,c241 INTEGER,c242 INTEGER,c243 INTEGER,c244 INTEGER,c245 INTEGER,c246 INTEGER,c247 INTEGER,c248 INTEGER,c249 INTEGER,c250 INTEGER,c251 INTEGER,c252 INTEGER,c253 INTEGER,c254 INTEGER,c255 INTEGER,c256 INTEGER,c257 INTEGER,c258 INTEGER,c259 INTEGER,c260 INTEGER,c261 INTEGER,c262 INTEGER,c263 INTEGER,c264 INTEGER,c265 INTEGER,c266 INTEGER,c267 INTEGER,c268 INTEGER,c269 INTEGER,c270 INTEGER,c271 INTEGER,c272 INTEGER,c273 INTEGER,c274 INTEGER,c275 INTEGER,c276 INTEGER,c277 INTEGER,c278 INTEGER,c279 INTEGER,c280 INTEGER,c281 INTEGER,c282 INTEGER,c283 INTEGER,c284 INTEGER,c285 INTEGER,c286 INTEGER,c287 INTEGER,c288 INTEGER,c289 INTEGER,c290 INTEGER,c291 INTEGER,c292 INTEGER,c293 INTEGER,c294 INTEGER,c295 INTEGER,c296 INTEGER,c297 INTEGER,c298 INTEGER,c299 INTEGER,c300 INTEGER,c301 INTEGER,c302 INTEGER,c303 INTEGER,c304 INTEGER,c305 INTEGER,c306 INTEGER,c307 INTEGER,c308 INTEGER,c309 INTEGER,c310 INTEGER,c311 INTEGER,c312 INTEGER,c313 INTEGER,c314 INTEGER,c315 INTEGER,c316 INTEGER,c317 INTEGER,c318 INTEGER,c319 INTEGER,c320 INTEGER,c321 INTEGER,c322 INTEGER,c323 INTEGER,c324 INTEGER,c325 INTEGER,c326 INTEGER,c327 INTEGER,c328 INTEGER,c329 INTEGER,c330 INTEGER,c331 INTEGER,c332 INTEGER,c333 INTEGER,c334 INTEGER,c335 INTEGER,c336 INTEGER,c337 INTEGER,c338 INTEGER,c339 INTEGER,c340 INTEGER,c341 INTEGER,c342 INTEGER,c343 INTEGER,c344 INTEGER,c345 INTEGER,c346 INTEGER,c347 INTEGER,c348 INTEGER,c349 INTEGER,c350 INTEGER,c351 INTEGER,c352 INTEGER,c353 INTEGER,c354 INTEGER,c355 INTEGER,c356 INTEGER,c357 INTEGER,c358 INTEGER,c359 INTEGER,c360 INTEGER,c361 INTEGER,c362 INTEGER,c363 INTEGER,c364 INTEGER,c365 INTEGER,c366 INTEGER,c367 INTEGER,c368 INTEGER,c369 INTEGER,c370 INTEGER,c371 INTEGER,c372 INTEGER,c373 INTEGER,c374 INTEGER,c375 INTEGER,c376 INTEGER,c377 INTEGER,c378 INTEGER,c379 INTEGER,c380 INTEGER,c381 INTEGER,c382 INTEGER,c383 INTEGER,c384 INTEGER,c385 INTEGER,c386 INTEGER,c387 INTEGER,c388 INTEGER,c389 INTEGER,c390 INTEGER,c391 INTEGER,c392 INTEGER,c393 INTEGER,c394 INTEGER,c395 INTEGER,c396 INTEGER,c397 INTEGER,c398 INTEGER,c399 INTEGER,c400 INTEGER,c401 INTEGER,c402 INTEGER,c403 INTEGER,c404 INTEGER,c405 INTEGER,c406 INTEGER,c407 INTEGER,c408 INTEGER,c409 INTEGER,c410 INTEGER,c411 INTEGER,c412 INTEGER,c413 INTEGER,c414 INTEGER,c415 INTEGER,c416 INTEGER,c417 INTEGER,c418 INTEGER,c419 INTEGER,c420 INTEGER,c421 INTEGER,c422 INTEGER,c423 INTEGER,c424 INTEGER,c425 INTEGER,c426 INTEGER,c427 INTEGER,c428 INTEGER,c429 INTEGER,c430 INTEGER,c431 INTEGER,c432 INTEGER,c433 INTEGER,c434 INTEGER,c435 INTEGER,c436 INTEGER,c437 INTEGER,c438 INTEGER,c439 INTEGER,c440 INTEGER,c441 INTEGER,c442 INTEGER,c443 INTEGER,c444 INTEGER,c445 INTEGER,c446 INTEGER,c447 INTEGER,c448 INTEGER,KEY (c1,c2,c3,c4,c5,c6,c7),KEY (c8,c9,c10,c11,c12,c13,c14),KEY (c15,c16,c17,c18,c19,c20,c21),KEY (c22,c23,c24,c25,c26,c27,c28),KEY (c29,c30,c31,c32,c33,c34,c35),KEY (c36,c37,c38,c39,c40,c41,c42),KEY (c43,c44,c45,c46,c47,c48,c49),KEY (c50,c51,c52,c53,c54,c55,c56),KEY (c57,c58,c59,c60,c61,c62,c63),KEY (c64,c65,c66,c67,c68,c69,c70),KEY (c71,c72,c73,c74,c75,c76,c77),KEY (c78,c79,c80,c81,c82,c83,c84),KEY (c85,c86,c87,c88,c89,c90,c91),KEY (c92,c93,c94,c95,c96,c97,c98),KEY (c99,c100,c101,c102,c103,c104,c105),KEY (c106,c107,c108,c109,c110,c111,c112),KEY (c113,c114,c115,c116,c117,c118,c119),KEY (c120,c121,c122,c123,c124,c125,c126),KEY (c127,c128,c129,c130,c131,c132,c133),KEY (c134,c135,c136,c137,c138,c139,c140),KEY (c141,c142,c143,c144,c145,c146,c147),KEY (c148,c149,c150,c151,c152,c153,c154),KEY (c155,c156,c157,c158,c159,c160,c161),KEY (c162,c163,c164,c165,c166,c167,c168),KEY (c169,c170,c171,c172,c173,c174,c175),KEY (c176,c177,c178,c179,c180,c181,c182),KEY (c183,c184,c185,c186,c187,c188,c189),KEY (c190,c191,c192,c193,c194,c195,c196),KEY (c197,c198,c199,c200,c201,c202,c203),KEY (c204,c205,c206,c207,c208,c209,c210),KEY (c211,c212,c213,c214,c215,c216,c217),KEY (c218,c219,c220,c221,c222,c223,c224),KEY (c225,c226,c227,c228,c229,c230,c231),KEY (c232,c233,c234,c235,c236,c237,c238),KEY (c239,c240,c241,c242,c243,c244,c245),KEY (c246,c247,c248,c249,c250,c251,c252),KEY (c253,c254,c255,c256,c257,c258,c259),KEY (c260,c261,c262,c263,c264,c265,c266),KEY (c267,c268,c269,c270,c271,c272,c273),KEY (c274,c275,c276,c277,c278,c279,c280),KEY (c281,c282,c283,c284,c285,c286,c287),KEY (c288,c289,c290,c291,c292,c293,c294),KEY (c295,c296,c297,c298,c299,c300,c301),KEY (c302,c303,c304,c305,c306,c307,c308),KEY (c309,c310,c311,c312,c313,c314,c315),KEY (c316,c317,c318,c319,c320,c321,c322),KEY (c323,c324,c325,c326,c327,c328,c329),KEY (c330,c331,c332,c333,c334,c335,c336),KEY (c337,c338,c339,c340,c341,c342,c343),KEY (c344,c345,c346,c347,c348,c349,c350),KEY (c351,c352,c353,c354,c355,c356,c357),KEY (c358,c359,c360,c361,c362,c363,c364),KEY (c365,c366,c367,c368,c369,c370,c371),KEY (c372,c373,c374,c375,c376,c377,c378),KEY (c379,c380,c381,c382,c383,c384,c385),KEY (c386,c387,c388,c389,c390,c391,c392),KEY (c393,c394,c395,c396,c397,c398,c399),KEY (c400,c401,c402,c403,c404,c405,c406),KEY (c407,c408,c409,c410,c411,c412,c413),KEY (c414,c415,c416,c417,c418,c419,c420),KEY (c421,c422,c423,c424,c425,c426,c427),KEY (c428,c429,c430,c431,c432,c433,c434),KEY (c435,c436,c437,c438,c439,c440,c441),KEY (c442,c443,c444,c445,c446,c447,c448) ) ; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1; +c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 c56 c57 c58 c59 c60 c61 c62 c63 c64 c65 c66 c67 c68 c69 c70 c71 c72 c73 c74 c75 c76 c77 c78 c79 c80 c81 c82 c83 c84 c85 c86 c87 c88 c89 c90 c91 c92 c93 c94 c95 c96 c97 c98 c99 c100 c101 c102 c103 c104 c105 c106 c107 c108 c109 c110 c111 c112 c113 c114 c115 c116 c117 c118 c119 c120 c121 c122 c123 c124 c125 c126 c127 c128 c129 c130 c131 c132 c133 c134 c135 c136 c137 c138 c139 c140 c141 c142 c143 c144 c145 c146 c147 c148 c149 c150 c151 c152 c153 c154 c155 c156 c157 c158 c159 c160 c161 c162 c163 c164 c165 c166 c167 c168 c169 c170 c171 c172 c173 c174 c175 c176 c177 c178 c179 c180 c181 c182 c183 c184 c185 c186 c187 c188 c189 c190 c191 c192 c193 c194 c195 c196 c197 c198 c199 c200 c201 c202 c203 c204 c205 c206 c207 c208 c209 c210 c211 c212 c213 c214 c215 c216 c217 c218 c219 c220 c221 c222 c223 c224 c225 c226 c227 c228 c229 c230 c231 c232 c233 c234 c235 c236 c237 c238 c239 c240 c241 c242 c243 c244 c245 c246 c247 c248 c249 c250 c251 c252 c253 c254 c255 c256 c257 c258 c259 c260 c261 c262 c263 c264 c265 c266 c267 c268 c269 c270 c271 c272 c273 c274 c275 c276 c277 c278 c279 c280 c281 c282 c283 c284 c285 c286 c287 c288 c289 c290 c291 c292 c293 c294 c295 c296 c297 c298 c299 c300 c301 c302 c303 c304 c305 c306 c307 c308 c309 c310 c311 c312 c313 c314 c315 c316 c317 c318 c319 c320 c321 c322 c323 c324 c325 c326 c327 c328 c329 c330 c331 c332 c333 c334 c335 c336 c337 c338 c339 c340 c341 c342 c343 c344 c345 c346 c347 c348 c349 c350 c351 c352 c353 c354 c355 c356 c357 c358 c359 c360 c361 c362 c363 c364 c365 c366 c367 c368 c369 c370 c371 c372 c373 c374 c375 c376 c377 c378 c379 c380 c381 c382 c383 c384 c385 c386 c387 c388 c389 c390 c391 c392 c393 c394 c395 c396 c397 c398 c399 c400 c401 c402 c403 c404 c405 c406 c407 c408 c409 c410 c411 c412 c413 c414 c415 c416 c417 c418 c419 c420 c421 c422 c423 c424 c425 c426 c427 c428 c429 c430 c431 c432 c433 c434 c435 c436 c437 c438 c439 c440 c441 c442 c443 c444 c445 c446 c447 c448 +1 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/crash_manyindexes_string.result b/mysql-test/suite/engines/funcs/r/crash_manyindexes_string.result new file mode 100644 index 00000000..412527bd --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manyindexes_string.result @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 VARCHAR(10),c2 VARCHAR(10),c3 VARCHAR(10),c4 VARCHAR(10),c5 VARCHAR(10),c6 VARCHAR(10),c7 VARCHAR(10),c8 VARCHAR(10),c9 VARCHAR(10),c10 VARCHAR(10),c11 VARCHAR(10),c12 VARCHAR(10),c13 VARCHAR(10),c14 VARCHAR(10),c15 VARCHAR(10),c16 VARCHAR(10),c17 VARCHAR(10),c18 VARCHAR(10),c19 VARCHAR(10),c20 VARCHAR(10),c21 VARCHAR(10),c22 VARCHAR(10),c23 VARCHAR(10),c24 VARCHAR(10),c25 VARCHAR(10),c26 VARCHAR(10),c27 VARCHAR(10),c28 VARCHAR(10),c29 VARCHAR(10),c30 VARCHAR(10),c31 VARCHAR(10),c32 VARCHAR(10),c33 VARCHAR(10),c34 VARCHAR(10),c35 VARCHAR(10),c36 VARCHAR(10),c37 VARCHAR(10),c38 VARCHAR(10),c39 VARCHAR(10),c40 VARCHAR(10),c41 VARCHAR(10),c42 VARCHAR(10),c43 VARCHAR(10),c44 VARCHAR(10),c45 VARCHAR(10),c46 VARCHAR(10),c47 VARCHAR(10),c48 VARCHAR(10),c49 VARCHAR(10),c50 VARCHAR(10),c51 VARCHAR(10),c52 VARCHAR(10),c53 VARCHAR(10),c54 VARCHAR(10),c55 VARCHAR(10),c56 VARCHAR(10),c57 VARCHAR(10),c58 VARCHAR(10),c59 VARCHAR(10),c60 VARCHAR(10),c61 VARCHAR(10),c62 VARCHAR(10),c63 VARCHAR(10),c64 VARCHAR(10),c65 VARCHAR(10),c66 VARCHAR(10),c67 VARCHAR(10),c68 VARCHAR(10),c69 VARCHAR(10),c70 VARCHAR(10),c71 VARCHAR(10),c72 VARCHAR(10),c73 VARCHAR(10),c74 VARCHAR(10),c75 VARCHAR(10),c76 VARCHAR(10),c77 VARCHAR(10),c78 VARCHAR(10),c79 VARCHAR(10),c80 VARCHAR(10),c81 VARCHAR(10),c82 VARCHAR(10),c83 VARCHAR(10),c84 VARCHAR(10),c85 VARCHAR(10),c86 VARCHAR(10),c87 VARCHAR(10),c88 VARCHAR(10),c89 VARCHAR(10),c90 VARCHAR(10),c91 VARCHAR(10),c92 VARCHAR(10),c93 VARCHAR(10),c94 VARCHAR(10),c95 VARCHAR(10),c96 VARCHAR(10),c97 VARCHAR(10),c98 VARCHAR(10),c99 VARCHAR(10),c100 VARCHAR(10),c101 VARCHAR(10),c102 VARCHAR(10),c103 VARCHAR(10),c104 VARCHAR(10),c105 VARCHAR(10),c106 VARCHAR(10),c107 VARCHAR(10),c108 VARCHAR(10),c109 VARCHAR(10),c110 VARCHAR(10),c111 VARCHAR(10),c112 VARCHAR(10),c113 VARCHAR(10),c114 VARCHAR(10),c115 VARCHAR(10),c116 VARCHAR(10),c117 VARCHAR(10),c118 VARCHAR(10),c119 VARCHAR(10),c120 VARCHAR(10),c121 VARCHAR(10),c122 VARCHAR(10),c123 VARCHAR(10),c124 VARCHAR(10),c125 VARCHAR(10),c126 VARCHAR(10),c127 VARCHAR(10),c128 VARCHAR(10),c129 VARCHAR(10),c130 VARCHAR(10),c131 VARCHAR(10),c132 VARCHAR(10),c133 VARCHAR(10),c134 VARCHAR(10),c135 VARCHAR(10),c136 VARCHAR(10),c137 VARCHAR(10),c138 VARCHAR(10),c139 VARCHAR(10),c140 VARCHAR(10),c141 VARCHAR(10),c142 VARCHAR(10),c143 VARCHAR(10),c144 VARCHAR(10),c145 VARCHAR(10),c146 VARCHAR(10),c147 VARCHAR(10),c148 VARCHAR(10),c149 VARCHAR(10),c150 VARCHAR(10),c151 VARCHAR(10),c152 VARCHAR(10),c153 VARCHAR(10),c154 VARCHAR(10),c155 VARCHAR(10),c156 VARCHAR(10),c157 VARCHAR(10),c158 VARCHAR(10),c159 VARCHAR(10),c160 VARCHAR(10),c161 VARCHAR(10),c162 VARCHAR(10),c163 VARCHAR(10),c164 VARCHAR(10),c165 VARCHAR(10),c166 VARCHAR(10),c167 VARCHAR(10),c168 VARCHAR(10),c169 VARCHAR(10),c170 VARCHAR(10),c171 VARCHAR(10),c172 VARCHAR(10),c173 VARCHAR(10),c174 VARCHAR(10),c175 VARCHAR(10),c176 VARCHAR(10),c177 VARCHAR(10),c178 VARCHAR(10),c179 VARCHAR(10),c180 VARCHAR(10),c181 VARCHAR(10),c182 VARCHAR(10),c183 VARCHAR(10),c184 VARCHAR(10),c185 VARCHAR(10),c186 VARCHAR(10),c187 VARCHAR(10),c188 VARCHAR(10),c189 VARCHAR(10),c190 VARCHAR(10),c191 VARCHAR(10),c192 VARCHAR(10),c193 VARCHAR(10),c194 VARCHAR(10),c195 VARCHAR(10),c196 VARCHAR(10),c197 VARCHAR(10),c198 VARCHAR(10),c199 VARCHAR(10),c200 VARCHAR(10),c201 VARCHAR(10),c202 VARCHAR(10),c203 VARCHAR(10),c204 VARCHAR(10),c205 VARCHAR(10),c206 VARCHAR(10),c207 VARCHAR(10),c208 VARCHAR(10),c209 VARCHAR(10),c210 VARCHAR(10),c211 VARCHAR(10),c212 VARCHAR(10),c213 VARCHAR(10),c214 VARCHAR(10),c215 VARCHAR(10),c216 VARCHAR(10),c217 VARCHAR(10),c218 VARCHAR(10),c219 VARCHAR(10),c220 VARCHAR(10),c221 VARCHAR(10),c222 VARCHAR(10),c223 VARCHAR(10),c224 VARCHAR(10),c225 VARCHAR(10),c226 VARCHAR(10),c227 VARCHAR(10),c228 VARCHAR(10),c229 VARCHAR(10),c230 VARCHAR(10),c231 VARCHAR(10),c232 VARCHAR(10),c233 VARCHAR(10),c234 VARCHAR(10),c235 VARCHAR(10),c236 VARCHAR(10),c237 VARCHAR(10),c238 VARCHAR(10),c239 VARCHAR(10),c240 VARCHAR(10),c241 VARCHAR(10),c242 VARCHAR(10),c243 VARCHAR(10),c244 VARCHAR(10),c245 VARCHAR(10),c246 VARCHAR(10),c247 VARCHAR(10),c248 VARCHAR(10),c249 VARCHAR(10),c250 VARCHAR(10),c251 VARCHAR(10),c252 VARCHAR(10),c253 VARCHAR(10),c254 VARCHAR(10),c255 VARCHAR(10),c256 VARCHAR(10),c257 VARCHAR(10),c258 VARCHAR(10),c259 VARCHAR(10),c260 VARCHAR(10),c261 VARCHAR(10),c262 VARCHAR(10),c263 VARCHAR(10),c264 VARCHAR(10),c265 VARCHAR(10),c266 VARCHAR(10),c267 VARCHAR(10),c268 VARCHAR(10),c269 VARCHAR(10),c270 VARCHAR(10),c271 VARCHAR(10),c272 VARCHAR(10),c273 VARCHAR(10),c274 VARCHAR(10),c275 VARCHAR(10),c276 VARCHAR(10),c277 VARCHAR(10),c278 VARCHAR(10),c279 VARCHAR(10),c280 VARCHAR(10),c281 VARCHAR(10),c282 VARCHAR(10),c283 VARCHAR(10),c284 VARCHAR(10),c285 VARCHAR(10),c286 VARCHAR(10),c287 VARCHAR(10),c288 VARCHAR(10),c289 VARCHAR(10),c290 VARCHAR(10),c291 VARCHAR(10),c292 VARCHAR(10),c293 VARCHAR(10),c294 VARCHAR(10),c295 VARCHAR(10),c296 VARCHAR(10),c297 VARCHAR(10),c298 VARCHAR(10),c299 VARCHAR(10),c300 VARCHAR(10),c301 VARCHAR(10),c302 VARCHAR(10),c303 VARCHAR(10),c304 VARCHAR(10),c305 VARCHAR(10),c306 VARCHAR(10),c307 VARCHAR(10),c308 VARCHAR(10),c309 VARCHAR(10),c310 VARCHAR(10),c311 VARCHAR(10),c312 VARCHAR(10),c313 VARCHAR(10),c314 VARCHAR(10),c315 VARCHAR(10),c316 VARCHAR(10),c317 VARCHAR(10),c318 VARCHAR(10),c319 VARCHAR(10),c320 VARCHAR(10),c321 VARCHAR(10),c322 VARCHAR(10),c323 VARCHAR(10),c324 VARCHAR(10),c325 VARCHAR(10),c326 VARCHAR(10),c327 VARCHAR(10),c328 VARCHAR(10),c329 VARCHAR(10),c330 VARCHAR(10),c331 VARCHAR(10),c332 VARCHAR(10),c333 VARCHAR(10),c334 VARCHAR(10),c335 VARCHAR(10),c336 VARCHAR(10),c337 VARCHAR(10),c338 VARCHAR(10),c339 VARCHAR(10),c340 VARCHAR(10),c341 VARCHAR(10),c342 VARCHAR(10),c343 VARCHAR(10),c344 VARCHAR(10),c345 VARCHAR(10),c346 VARCHAR(10),c347 VARCHAR(10),c348 VARCHAR(10),c349 VARCHAR(10),c350 VARCHAR(10),c351 VARCHAR(10),c352 VARCHAR(10),c353 VARCHAR(10),c354 VARCHAR(10),c355 VARCHAR(10),c356 VARCHAR(10),c357 VARCHAR(10),c358 VARCHAR(10),c359 VARCHAR(10),c360 VARCHAR(10),c361 VARCHAR(10),c362 VARCHAR(10),c363 VARCHAR(10),c364 VARCHAR(10),c365 VARCHAR(10),c366 VARCHAR(10),c367 VARCHAR(10),c368 VARCHAR(10),c369 VARCHAR(10),c370 VARCHAR(10),c371 VARCHAR(10),c372 VARCHAR(10),c373 VARCHAR(10),c374 VARCHAR(10),c375 VARCHAR(10),c376 VARCHAR(10),c377 VARCHAR(10),c378 VARCHAR(10),c379 VARCHAR(10),c380 VARCHAR(10),c381 VARCHAR(10),c382 VARCHAR(10),c383 VARCHAR(10),c384 VARCHAR(10),c385 VARCHAR(10),c386 VARCHAR(10),c387 VARCHAR(10),c388 VARCHAR(10),c389 VARCHAR(10),c390 VARCHAR(10),c391 VARCHAR(10),c392 VARCHAR(10),c393 VARCHAR(10),c394 VARCHAR(10),c395 VARCHAR(10),c396 VARCHAR(10),c397 VARCHAR(10),c398 VARCHAR(10),c399 VARCHAR(10),c400 VARCHAR(10),c401 VARCHAR(10),c402 VARCHAR(10),c403 VARCHAR(10),c404 VARCHAR(10),c405 VARCHAR(10),c406 VARCHAR(10),c407 VARCHAR(10),c408 VARCHAR(10),c409 VARCHAR(10),c410 VARCHAR(10),c411 VARCHAR(10),c412 VARCHAR(10),c413 VARCHAR(10),c414 VARCHAR(10),c415 VARCHAR(10),c416 VARCHAR(10),c417 VARCHAR(10),c418 VARCHAR(10),c419 VARCHAR(10),c420 VARCHAR(10),c421 VARCHAR(10),c422 VARCHAR(10),c423 VARCHAR(10),c424 VARCHAR(10),c425 VARCHAR(10),c426 VARCHAR(10),c427 VARCHAR(10),c428 VARCHAR(10),c429 VARCHAR(10),c430 VARCHAR(10),c431 VARCHAR(10),c432 VARCHAR(10),c433 VARCHAR(10),c434 VARCHAR(10),c435 VARCHAR(10),c436 VARCHAR(10),c437 VARCHAR(10),c438 VARCHAR(10),c439 VARCHAR(10),c440 VARCHAR(10),c441 VARCHAR(10),c442 VARCHAR(10),c443 VARCHAR(10),c444 VARCHAR(10),c445 VARCHAR(10),c446 VARCHAR(10),c447 VARCHAR(10),c448 VARCHAR(10),KEY (c1,c2,c3,c4,c5,c6,c7),KEY (c8,c9,c10,c11,c12,c13,c14),KEY (c15,c16,c17,c18,c19,c20,c21),KEY (c22,c23,c24,c25,c26,c27,c28),KEY (c29,c30,c31,c32,c33,c34,c35),KEY (c36,c37,c38,c39,c40,c41,c42),KEY (c43,c44,c45,c46,c47,c48,c49),KEY (c50,c51,c52,c53,c54,c55,c56),KEY (c57,c58,c59,c60,c61,c62,c63),KEY (c64,c65,c66,c67,c68,c69,c70),KEY (c71,c72,c73,c74,c75,c76,c77),KEY (c78,c79,c80,c81,c82,c83,c84),KEY (c85,c86,c87,c88,c89,c90,c91),KEY (c92,c93,c94,c95,c96,c97,c98),KEY (c99,c100,c101,c102,c103,c104,c105),KEY (c106,c107,c108,c109,c110,c111,c112),KEY (c113,c114,c115,c116,c117,c118,c119),KEY (c120,c121,c122,c123,c124,c125,c126),KEY (c127,c128,c129,c130,c131,c132,c133),KEY (c134,c135,c136,c137,c138,c139,c140),KEY (c141,c142,c143,c144,c145,c146,c147),KEY (c148,c149,c150,c151,c152,c153,c154),KEY (c155,c156,c157,c158,c159,c160,c161),KEY (c162,c163,c164,c165,c166,c167,c168),KEY (c169,c170,c171,c172,c173,c174,c175),KEY (c176,c177,c178,c179,c180,c181,c182),KEY (c183,c184,c185,c186,c187,c188,c189),KEY (c190,c191,c192,c193,c194,c195,c196),KEY (c197,c198,c199,c200,c201,c202,c203),KEY (c204,c205,c206,c207,c208,c209,c210),KEY (c211,c212,c213,c214,c215,c216,c217),KEY (c218,c219,c220,c221,c222,c223,c224),KEY (c225,c226,c227,c228,c229,c230,c231),KEY (c232,c233,c234,c235,c236,c237,c238),KEY (c239,c240,c241,c242,c243,c244,c245),KEY (c246,c247,c248,c249,c250,c251,c252),KEY (c253,c254,c255,c256,c257,c258,c259),KEY (c260,c261,c262,c263,c264,c265,c266),KEY (c267,c268,c269,c270,c271,c272,c273),KEY (c274,c275,c276,c277,c278,c279,c280),KEY (c281,c282,c283,c284,c285,c286,c287),KEY (c288,c289,c290,c291,c292,c293,c294),KEY (c295,c296,c297,c298,c299,c300,c301),KEY (c302,c303,c304,c305,c306,c307,c308),KEY (c309,c310,c311,c312,c313,c314,c315),KEY (c316,c317,c318,c319,c320,c321,c322),KEY (c323,c324,c325,c326,c327,c328,c329),KEY (c330,c331,c332,c333,c334,c335,c336),KEY (c337,c338,c339,c340,c341,c342,c343),KEY (c344,c345,c346,c347,c348,c349,c350),KEY (c351,c352,c353,c354,c355,c356,c357),KEY (c358,c359,c360,c361,c362,c363,c364),KEY (c365,c366,c367,c368,c369,c370,c371),KEY (c372,c373,c374,c375,c376,c377,c378),KEY (c379,c380,c381,c382,c383,c384,c385),KEY (c386,c387,c388,c389,c390,c391,c392),KEY (c393,c394,c395,c396,c397,c398,c399),KEY (c400,c401,c402,c403,c404,c405,c406),KEY (c407,c408,c409,c410,c411,c412,c413),KEY (c414,c415,c416,c417,c418,c419,c420),KEY (c421,c422,c423,c424,c425,c426,c427),KEY (c428,c429,c430,c431,c432,c433,c434),KEY (c435,c436,c437,c438,c439,c440,c441),KEY (c442,c443,c444,c445,c446,c447,c448) ) ; +INSERT INTO t1(c1) VALUES('abc'); +SELECT * FROM t1; +c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 c56 c57 c58 c59 c60 c61 c62 c63 c64 c65 c66 c67 c68 c69 c70 c71 c72 c73 c74 c75 c76 c77 c78 c79 c80 c81 c82 c83 c84 c85 c86 c87 c88 c89 c90 c91 c92 c93 c94 c95 c96 c97 c98 c99 c100 c101 c102 c103 c104 c105 c106 c107 c108 c109 c110 c111 c112 c113 c114 c115 c116 c117 c118 c119 c120 c121 c122 c123 c124 c125 c126 c127 c128 c129 c130 c131 c132 c133 c134 c135 c136 c137 c138 c139 c140 c141 c142 c143 c144 c145 c146 c147 c148 c149 c150 c151 c152 c153 c154 c155 c156 c157 c158 c159 c160 c161 c162 c163 c164 c165 c166 c167 c168 c169 c170 c171 c172 c173 c174 c175 c176 c177 c178 c179 c180 c181 c182 c183 c184 c185 c186 c187 c188 c189 c190 c191 c192 c193 c194 c195 c196 c197 c198 c199 c200 c201 c202 c203 c204 c205 c206 c207 c208 c209 c210 c211 c212 c213 c214 c215 c216 c217 c218 c219 c220 c221 c222 c223 c224 c225 c226 c227 c228 c229 c230 c231 c232 c233 c234 c235 c236 c237 c238 c239 c240 c241 c242 c243 c244 c245 c246 c247 c248 c249 c250 c251 c252 c253 c254 c255 c256 c257 c258 c259 c260 c261 c262 c263 c264 c265 c266 c267 c268 c269 c270 c271 c272 c273 c274 c275 c276 c277 c278 c279 c280 c281 c282 c283 c284 c285 c286 c287 c288 c289 c290 c291 c292 c293 c294 c295 c296 c297 c298 c299 c300 c301 c302 c303 c304 c305 c306 c307 c308 c309 c310 c311 c312 c313 c314 c315 c316 c317 c318 c319 c320 c321 c322 c323 c324 c325 c326 c327 c328 c329 c330 c331 c332 c333 c334 c335 c336 c337 c338 c339 c340 c341 c342 c343 c344 c345 c346 c347 c348 c349 c350 c351 c352 c353 c354 c355 c356 c357 c358 c359 c360 c361 c362 c363 c364 c365 c366 c367 c368 c369 c370 c371 c372 c373 c374 c375 c376 c377 c378 c379 c380 c381 c382 c383 c384 c385 c386 c387 c388 c389 c390 c391 c392 c393 c394 c395 c396 c397 c398 c399 c400 c401 c402 c403 c404 c405 c406 c407 c408 c409 c410 c411 c412 c413 c414 c415 c416 c417 c418 c419 c420 c421 c422 c423 c424 c425 c426 c427 c428 c429 c430 c431 c432 c433 c434 c435 c436 c437 c438 c439 c440 c441 c442 c443 c444 c445 c446 c447 c448 +abc NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/crash_manytables_number.result b/mysql-test/suite/engines/funcs/r/crash_manytables_number.result new file mode 100644 index 00000000..48b587bc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manytables_number.result @@ -0,0 +1,3001 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER) ; +INSERT INTO t1 VALUES(1); +CREATE TABLE t2 (c1 INTEGER) ; +INSERT INTO t2 VALUES(1); +CREATE TABLE t3 (c1 INTEGER) ; +INSERT INTO t3 VALUES(1); +CREATE TABLE t4 (c1 INTEGER) ; +INSERT INTO t4 VALUES(1); +CREATE TABLE t5 (c1 INTEGER) ; +INSERT INTO t5 VALUES(1); +CREATE TABLE t6 (c1 INTEGER) ; +INSERT INTO t6 VALUES(1); +CREATE TABLE t7 (c1 INTEGER) ; +INSERT INTO t7 VALUES(1); +CREATE TABLE t8 (c1 INTEGER) ; +INSERT INTO t8 VALUES(1); +CREATE TABLE t9 (c1 INTEGER) ; +INSERT INTO t9 VALUES(1); +CREATE TABLE t10 (c1 INTEGER) ; +INSERT INTO t10 VALUES(1); +CREATE TABLE t11 (c1 INTEGER) ; +INSERT INTO t11 VALUES(1); +CREATE TABLE t12 (c1 INTEGER) ; +INSERT INTO t12 VALUES(1); +CREATE TABLE t13 (c1 INTEGER) ; +INSERT INTO t13 VALUES(1); +CREATE TABLE t14 (c1 INTEGER) ; +INSERT INTO t14 VALUES(1); +CREATE TABLE t15 (c1 INTEGER) ; +INSERT INTO t15 VALUES(1); +CREATE TABLE t16 (c1 INTEGER) ; +INSERT INTO t16 VALUES(1); +CREATE TABLE t17 (c1 INTEGER) ; +INSERT INTO t17 VALUES(1); +CREATE TABLE t18 (c1 INTEGER) ; +INSERT INTO t18 VALUES(1); +CREATE TABLE t19 (c1 INTEGER) ; +INSERT INTO t19 VALUES(1); +CREATE TABLE t20 (c1 INTEGER) ; +INSERT INTO t20 VALUES(1); +CREATE TABLE t21 (c1 INTEGER) ; +INSERT INTO t21 VALUES(1); +CREATE TABLE t22 (c1 INTEGER) ; +INSERT INTO t22 VALUES(1); +CREATE TABLE t23 (c1 INTEGER) ; +INSERT INTO t23 VALUES(1); +CREATE TABLE t24 (c1 INTEGER) ; +INSERT INTO t24 VALUES(1); +CREATE TABLE t25 (c1 INTEGER) ; +INSERT INTO t25 VALUES(1); +CREATE TABLE t26 (c1 INTEGER) ; +INSERT INTO t26 VALUES(1); +CREATE TABLE t27 (c1 INTEGER) ; +INSERT INTO t27 VALUES(1); +CREATE TABLE t28 (c1 INTEGER) ; +INSERT INTO t28 VALUES(1); +CREATE TABLE t29 (c1 INTEGER) ; +INSERT INTO t29 VALUES(1); +CREATE TABLE t30 (c1 INTEGER) ; +INSERT INTO t30 VALUES(1); +CREATE TABLE t31 (c1 INTEGER) ; +INSERT INTO t31 VALUES(1); +CREATE TABLE t32 (c1 INTEGER) ; +INSERT INTO t32 VALUES(1); +CREATE TABLE t33 (c1 INTEGER) ; +INSERT INTO t33 VALUES(1); +CREATE TABLE t34 (c1 INTEGER) ; +INSERT INTO t34 VALUES(1); +CREATE TABLE t35 (c1 INTEGER) ; +INSERT INTO t35 VALUES(1); +CREATE TABLE t36 (c1 INTEGER) ; +INSERT INTO t36 VALUES(1); +CREATE TABLE t37 (c1 INTEGER) ; +INSERT INTO t37 VALUES(1); +CREATE TABLE t38 (c1 INTEGER) ; +INSERT INTO t38 VALUES(1); +CREATE TABLE t39 (c1 INTEGER) ; +INSERT INTO t39 VALUES(1); +CREATE TABLE t40 (c1 INTEGER) ; +INSERT INTO t40 VALUES(1); +CREATE TABLE t41 (c1 INTEGER) ; +INSERT INTO t41 VALUES(1); +CREATE TABLE t42 (c1 INTEGER) ; +INSERT INTO t42 VALUES(1); +CREATE TABLE t43 (c1 INTEGER) ; +INSERT INTO t43 VALUES(1); +CREATE TABLE t44 (c1 INTEGER) ; +INSERT INTO t44 VALUES(1); +CREATE TABLE t45 (c1 INTEGER) ; +INSERT INTO t45 VALUES(1); +CREATE TABLE t46 (c1 INTEGER) ; +INSERT INTO t46 VALUES(1); +CREATE TABLE t47 (c1 INTEGER) ; +INSERT INTO t47 VALUES(1); +CREATE TABLE t48 (c1 INTEGER) ; +INSERT INTO t48 VALUES(1); +CREATE TABLE t49 (c1 INTEGER) ; +INSERT INTO t49 VALUES(1); +CREATE TABLE t50 (c1 INTEGER) ; +INSERT INTO t50 VALUES(1); +CREATE TABLE t51 (c1 INTEGER) ; +INSERT INTO t51 VALUES(1); +CREATE TABLE t52 (c1 INTEGER) ; +INSERT INTO t52 VALUES(1); +CREATE TABLE t53 (c1 INTEGER) ; +INSERT INTO t53 VALUES(1); +CREATE TABLE t54 (c1 INTEGER) ; +INSERT INTO t54 VALUES(1); +CREATE TABLE t55 (c1 INTEGER) ; +INSERT INTO t55 VALUES(1); +CREATE TABLE t56 (c1 INTEGER) ; +INSERT INTO t56 VALUES(1); +CREATE TABLE t57 (c1 INTEGER) ; +INSERT INTO t57 VALUES(1); +CREATE TABLE t58 (c1 INTEGER) ; +INSERT INTO t58 VALUES(1); +CREATE TABLE t59 (c1 INTEGER) ; +INSERT INTO t59 VALUES(1); +CREATE TABLE t60 (c1 INTEGER) ; +INSERT INTO t60 VALUES(1); +CREATE TABLE t61 (c1 INTEGER) ; +INSERT INTO t61 VALUES(1); +CREATE TABLE t62 (c1 INTEGER) ; +INSERT INTO t62 VALUES(1); +CREATE TABLE t63 (c1 INTEGER) ; +INSERT INTO t63 VALUES(1); +CREATE TABLE t64 (c1 INTEGER) ; +INSERT INTO t64 VALUES(1); +CREATE TABLE t65 (c1 INTEGER) ; +INSERT INTO t65 VALUES(1); +CREATE TABLE t66 (c1 INTEGER) ; +INSERT INTO t66 VALUES(1); +CREATE TABLE t67 (c1 INTEGER) ; +INSERT INTO t67 VALUES(1); +CREATE TABLE t68 (c1 INTEGER) ; +INSERT INTO t68 VALUES(1); +CREATE TABLE t69 (c1 INTEGER) ; +INSERT INTO t69 VALUES(1); +CREATE TABLE t70 (c1 INTEGER) ; +INSERT INTO t70 VALUES(1); +CREATE TABLE t71 (c1 INTEGER) ; +INSERT INTO t71 VALUES(1); +CREATE TABLE t72 (c1 INTEGER) ; +INSERT INTO t72 VALUES(1); +CREATE TABLE t73 (c1 INTEGER) ; +INSERT INTO t73 VALUES(1); +CREATE TABLE t74 (c1 INTEGER) ; +INSERT INTO t74 VALUES(1); +CREATE TABLE t75 (c1 INTEGER) ; +INSERT INTO t75 VALUES(1); +CREATE TABLE t76 (c1 INTEGER) ; +INSERT INTO t76 VALUES(1); +CREATE TABLE t77 (c1 INTEGER) ; +INSERT INTO t77 VALUES(1); +CREATE TABLE t78 (c1 INTEGER) ; +INSERT INTO t78 VALUES(1); +CREATE TABLE t79 (c1 INTEGER) ; +INSERT INTO t79 VALUES(1); +CREATE TABLE t80 (c1 INTEGER) ; +INSERT INTO t80 VALUES(1); +CREATE TABLE t81 (c1 INTEGER) ; +INSERT INTO t81 VALUES(1); +CREATE TABLE t82 (c1 INTEGER) ; +INSERT INTO t82 VALUES(1); +CREATE TABLE t83 (c1 INTEGER) ; +INSERT INTO t83 VALUES(1); +CREATE TABLE t84 (c1 INTEGER) ; +INSERT INTO t84 VALUES(1); +CREATE TABLE t85 (c1 INTEGER) ; +INSERT INTO t85 VALUES(1); +CREATE TABLE t86 (c1 INTEGER) ; +INSERT INTO t86 VALUES(1); +CREATE TABLE t87 (c1 INTEGER) ; +INSERT INTO t87 VALUES(1); +CREATE TABLE t88 (c1 INTEGER) ; +INSERT INTO t88 VALUES(1); +CREATE TABLE t89 (c1 INTEGER) ; +INSERT INTO t89 VALUES(1); +CREATE TABLE t90 (c1 INTEGER) ; +INSERT INTO t90 VALUES(1); +CREATE TABLE t91 (c1 INTEGER) ; +INSERT INTO t91 VALUES(1); +CREATE TABLE t92 (c1 INTEGER) ; +INSERT INTO t92 VALUES(1); +CREATE TABLE t93 (c1 INTEGER) ; +INSERT INTO t93 VALUES(1); +CREATE TABLE t94 (c1 INTEGER) ; +INSERT INTO t94 VALUES(1); +CREATE TABLE t95 (c1 INTEGER) ; +INSERT INTO t95 VALUES(1); +CREATE TABLE t96 (c1 INTEGER) ; +INSERT INTO t96 VALUES(1); +CREATE TABLE t97 (c1 INTEGER) ; +INSERT INTO t97 VALUES(1); +CREATE TABLE t98 (c1 INTEGER) ; +INSERT INTO t98 VALUES(1); +CREATE TABLE t99 (c1 INTEGER) ; +INSERT INTO t99 VALUES(1); +CREATE TABLE t100 (c1 INTEGER) ; +INSERT INTO t100 VALUES(1); +CREATE TABLE t101 (c1 INTEGER) ; +INSERT INTO t101 VALUES(1); +CREATE TABLE t102 (c1 INTEGER) ; +INSERT INTO t102 VALUES(1); +CREATE TABLE t103 (c1 INTEGER) ; +INSERT INTO t103 VALUES(1); +CREATE TABLE t104 (c1 INTEGER) ; +INSERT INTO t104 VALUES(1); +CREATE TABLE t105 (c1 INTEGER) ; +INSERT INTO t105 VALUES(1); +CREATE TABLE t106 (c1 INTEGER) ; +INSERT INTO t106 VALUES(1); +CREATE TABLE t107 (c1 INTEGER) ; +INSERT INTO t107 VALUES(1); +CREATE TABLE t108 (c1 INTEGER) ; +INSERT INTO t108 VALUES(1); +CREATE TABLE t109 (c1 INTEGER) ; +INSERT INTO t109 VALUES(1); +CREATE TABLE t110 (c1 INTEGER) ; +INSERT INTO t110 VALUES(1); +CREATE TABLE t111 (c1 INTEGER) ; +INSERT INTO t111 VALUES(1); +CREATE TABLE t112 (c1 INTEGER) ; +INSERT INTO t112 VALUES(1); +CREATE TABLE t113 (c1 INTEGER) ; +INSERT INTO t113 VALUES(1); +CREATE TABLE t114 (c1 INTEGER) ; +INSERT INTO t114 VALUES(1); +CREATE TABLE t115 (c1 INTEGER) ; +INSERT INTO t115 VALUES(1); +CREATE TABLE t116 (c1 INTEGER) ; +INSERT INTO t116 VALUES(1); +CREATE TABLE t117 (c1 INTEGER) ; +INSERT INTO t117 VALUES(1); +CREATE TABLE t118 (c1 INTEGER) ; +INSERT INTO t118 VALUES(1); +CREATE TABLE t119 (c1 INTEGER) ; +INSERT INTO t119 VALUES(1); +CREATE TABLE t120 (c1 INTEGER) ; +INSERT INTO t120 VALUES(1); +CREATE TABLE t121 (c1 INTEGER) ; +INSERT INTO t121 VALUES(1); +CREATE TABLE t122 (c1 INTEGER) ; +INSERT INTO t122 VALUES(1); +CREATE TABLE t123 (c1 INTEGER) ; +INSERT INTO t123 VALUES(1); +CREATE TABLE t124 (c1 INTEGER) ; +INSERT INTO t124 VALUES(1); +CREATE TABLE t125 (c1 INTEGER) ; +INSERT INTO t125 VALUES(1); +CREATE TABLE t126 (c1 INTEGER) ; +INSERT INTO t126 VALUES(1); +CREATE TABLE t127 (c1 INTEGER) ; +INSERT INTO t127 VALUES(1); +CREATE TABLE t128 (c1 INTEGER) ; +INSERT INTO t128 VALUES(1); +CREATE TABLE t129 (c1 INTEGER) ; +INSERT INTO t129 VALUES(1); +CREATE TABLE t130 (c1 INTEGER) ; +INSERT INTO t130 VALUES(1); +CREATE TABLE t131 (c1 INTEGER) ; +INSERT INTO t131 VALUES(1); +CREATE TABLE t132 (c1 INTEGER) ; +INSERT INTO t132 VALUES(1); +CREATE TABLE t133 (c1 INTEGER) ; +INSERT INTO t133 VALUES(1); +CREATE TABLE t134 (c1 INTEGER) ; +INSERT INTO t134 VALUES(1); +CREATE TABLE t135 (c1 INTEGER) ; +INSERT INTO t135 VALUES(1); +CREATE TABLE t136 (c1 INTEGER) ; +INSERT INTO t136 VALUES(1); +CREATE TABLE t137 (c1 INTEGER) ; +INSERT INTO t137 VALUES(1); +CREATE TABLE t138 (c1 INTEGER) ; +INSERT INTO t138 VALUES(1); +CREATE TABLE t139 (c1 INTEGER) ; +INSERT INTO t139 VALUES(1); +CREATE TABLE t140 (c1 INTEGER) ; +INSERT INTO t140 VALUES(1); +CREATE TABLE t141 (c1 INTEGER) ; +INSERT INTO t141 VALUES(1); +CREATE TABLE t142 (c1 INTEGER) ; +INSERT INTO t142 VALUES(1); +CREATE TABLE t143 (c1 INTEGER) ; +INSERT INTO t143 VALUES(1); +CREATE TABLE t144 (c1 INTEGER) ; +INSERT INTO t144 VALUES(1); +CREATE TABLE t145 (c1 INTEGER) ; +INSERT INTO t145 VALUES(1); +CREATE TABLE t146 (c1 INTEGER) ; +INSERT INTO t146 VALUES(1); +CREATE TABLE t147 (c1 INTEGER) ; +INSERT INTO t147 VALUES(1); +CREATE TABLE t148 (c1 INTEGER) ; +INSERT INTO t148 VALUES(1); +CREATE TABLE t149 (c1 INTEGER) ; +INSERT INTO t149 VALUES(1); +CREATE TABLE t150 (c1 INTEGER) ; +INSERT INTO t150 VALUES(1); +CREATE TABLE t151 (c1 INTEGER) ; +INSERT INTO t151 VALUES(1); +CREATE TABLE t152 (c1 INTEGER) ; +INSERT INTO t152 VALUES(1); +CREATE TABLE t153 (c1 INTEGER) ; +INSERT INTO t153 VALUES(1); +CREATE TABLE t154 (c1 INTEGER) ; +INSERT INTO t154 VALUES(1); +CREATE TABLE t155 (c1 INTEGER) ; +INSERT INTO t155 VALUES(1); +CREATE TABLE t156 (c1 INTEGER) ; +INSERT INTO t156 VALUES(1); +CREATE TABLE t157 (c1 INTEGER) ; +INSERT INTO t157 VALUES(1); +CREATE TABLE t158 (c1 INTEGER) ; +INSERT INTO t158 VALUES(1); +CREATE TABLE t159 (c1 INTEGER) ; +INSERT INTO t159 VALUES(1); +CREATE TABLE t160 (c1 INTEGER) ; +INSERT INTO t160 VALUES(1); +CREATE TABLE t161 (c1 INTEGER) ; +INSERT INTO t161 VALUES(1); +CREATE TABLE t162 (c1 INTEGER) ; +INSERT INTO t162 VALUES(1); +CREATE TABLE t163 (c1 INTEGER) ; +INSERT INTO t163 VALUES(1); +CREATE TABLE t164 (c1 INTEGER) ; +INSERT INTO t164 VALUES(1); +CREATE TABLE t165 (c1 INTEGER) ; +INSERT INTO t165 VALUES(1); +CREATE TABLE t166 (c1 INTEGER) ; +INSERT INTO t166 VALUES(1); +CREATE TABLE t167 (c1 INTEGER) ; +INSERT INTO t167 VALUES(1); +CREATE TABLE t168 (c1 INTEGER) ; +INSERT INTO t168 VALUES(1); +CREATE TABLE t169 (c1 INTEGER) ; +INSERT INTO t169 VALUES(1); +CREATE TABLE t170 (c1 INTEGER) ; +INSERT INTO t170 VALUES(1); +CREATE TABLE t171 (c1 INTEGER) ; +INSERT INTO t171 VALUES(1); +CREATE TABLE t172 (c1 INTEGER) ; +INSERT INTO t172 VALUES(1); +CREATE TABLE t173 (c1 INTEGER) ; +INSERT INTO t173 VALUES(1); +CREATE TABLE t174 (c1 INTEGER) ; +INSERT INTO t174 VALUES(1); +CREATE TABLE t175 (c1 INTEGER) ; +INSERT INTO t175 VALUES(1); +CREATE TABLE t176 (c1 INTEGER) ; +INSERT INTO t176 VALUES(1); +CREATE TABLE t177 (c1 INTEGER) ; +INSERT INTO t177 VALUES(1); +CREATE TABLE t178 (c1 INTEGER) ; +INSERT INTO t178 VALUES(1); +CREATE TABLE t179 (c1 INTEGER) ; +INSERT INTO t179 VALUES(1); +CREATE TABLE t180 (c1 INTEGER) ; +INSERT INTO t180 VALUES(1); +CREATE TABLE t181 (c1 INTEGER) ; +INSERT INTO t181 VALUES(1); +CREATE TABLE t182 (c1 INTEGER) ; +INSERT INTO t182 VALUES(1); +CREATE TABLE t183 (c1 INTEGER) ; +INSERT INTO t183 VALUES(1); +CREATE TABLE t184 (c1 INTEGER) ; +INSERT INTO t184 VALUES(1); +CREATE TABLE t185 (c1 INTEGER) ; +INSERT INTO t185 VALUES(1); +CREATE TABLE t186 (c1 INTEGER) ; +INSERT INTO t186 VALUES(1); +CREATE TABLE t187 (c1 INTEGER) ; +INSERT INTO t187 VALUES(1); +CREATE TABLE t188 (c1 INTEGER) ; +INSERT INTO t188 VALUES(1); +CREATE TABLE t189 (c1 INTEGER) ; +INSERT INTO t189 VALUES(1); +CREATE TABLE t190 (c1 INTEGER) ; +INSERT INTO t190 VALUES(1); +CREATE TABLE t191 (c1 INTEGER) ; +INSERT INTO t191 VALUES(1); +CREATE TABLE t192 (c1 INTEGER) ; +INSERT INTO t192 VALUES(1); +CREATE TABLE t193 (c1 INTEGER) ; +INSERT INTO t193 VALUES(1); +CREATE TABLE t194 (c1 INTEGER) ; +INSERT INTO t194 VALUES(1); +CREATE TABLE t195 (c1 INTEGER) ; +INSERT INTO t195 VALUES(1); +CREATE TABLE t196 (c1 INTEGER) ; +INSERT INTO t196 VALUES(1); +CREATE TABLE t197 (c1 INTEGER) ; +INSERT INTO t197 VALUES(1); +CREATE TABLE t198 (c1 INTEGER) ; +INSERT INTO t198 VALUES(1); +CREATE TABLE t199 (c1 INTEGER) ; +INSERT INTO t199 VALUES(1); +CREATE TABLE t200 (c1 INTEGER) ; +INSERT INTO t200 VALUES(1); +CREATE TABLE t201 (c1 INTEGER) ; +INSERT INTO t201 VALUES(1); +CREATE TABLE t202 (c1 INTEGER) ; +INSERT INTO t202 VALUES(1); +CREATE TABLE t203 (c1 INTEGER) ; +INSERT INTO t203 VALUES(1); +CREATE TABLE t204 (c1 INTEGER) ; +INSERT INTO t204 VALUES(1); +CREATE TABLE t205 (c1 INTEGER) ; +INSERT INTO t205 VALUES(1); +CREATE TABLE t206 (c1 INTEGER) ; +INSERT INTO t206 VALUES(1); +CREATE TABLE t207 (c1 INTEGER) ; +INSERT INTO t207 VALUES(1); +CREATE TABLE t208 (c1 INTEGER) ; +INSERT INTO t208 VALUES(1); +CREATE TABLE t209 (c1 INTEGER) ; +INSERT INTO t209 VALUES(1); +CREATE TABLE t210 (c1 INTEGER) ; +INSERT INTO t210 VALUES(1); +CREATE TABLE t211 (c1 INTEGER) ; +INSERT INTO t211 VALUES(1); +CREATE TABLE t212 (c1 INTEGER) ; +INSERT INTO t212 VALUES(1); +CREATE TABLE t213 (c1 INTEGER) ; +INSERT INTO t213 VALUES(1); +CREATE TABLE t214 (c1 INTEGER) ; +INSERT INTO t214 VALUES(1); +CREATE TABLE t215 (c1 INTEGER) ; +INSERT INTO t215 VALUES(1); +CREATE TABLE t216 (c1 INTEGER) ; +INSERT INTO t216 VALUES(1); +CREATE TABLE t217 (c1 INTEGER) ; +INSERT INTO t217 VALUES(1); +CREATE TABLE t218 (c1 INTEGER) ; +INSERT INTO t218 VALUES(1); +CREATE TABLE t219 (c1 INTEGER) ; +INSERT INTO t219 VALUES(1); +CREATE TABLE t220 (c1 INTEGER) ; +INSERT INTO t220 VALUES(1); +CREATE TABLE t221 (c1 INTEGER) ; +INSERT INTO t221 VALUES(1); +CREATE TABLE t222 (c1 INTEGER) ; +INSERT INTO t222 VALUES(1); +CREATE TABLE t223 (c1 INTEGER) ; +INSERT INTO t223 VALUES(1); +CREATE TABLE t224 (c1 INTEGER) ; +INSERT INTO t224 VALUES(1); +CREATE TABLE t225 (c1 INTEGER) ; +INSERT INTO t225 VALUES(1); +CREATE TABLE t226 (c1 INTEGER) ; +INSERT INTO t226 VALUES(1); +CREATE TABLE t227 (c1 INTEGER) ; +INSERT INTO t227 VALUES(1); +CREATE TABLE t228 (c1 INTEGER) ; +INSERT INTO t228 VALUES(1); +CREATE TABLE t229 (c1 INTEGER) ; +INSERT INTO t229 VALUES(1); +CREATE TABLE t230 (c1 INTEGER) ; +INSERT INTO t230 VALUES(1); +CREATE TABLE t231 (c1 INTEGER) ; +INSERT INTO t231 VALUES(1); +CREATE TABLE t232 (c1 INTEGER) ; +INSERT INTO t232 VALUES(1); +CREATE TABLE t233 (c1 INTEGER) ; +INSERT INTO t233 VALUES(1); +CREATE TABLE t234 (c1 INTEGER) ; +INSERT INTO t234 VALUES(1); +CREATE TABLE t235 (c1 INTEGER) ; +INSERT INTO t235 VALUES(1); +CREATE TABLE t236 (c1 INTEGER) ; +INSERT INTO t236 VALUES(1); +CREATE TABLE t237 (c1 INTEGER) ; +INSERT INTO t237 VALUES(1); +CREATE TABLE t238 (c1 INTEGER) ; +INSERT INTO t238 VALUES(1); +CREATE TABLE t239 (c1 INTEGER) ; +INSERT INTO t239 VALUES(1); +CREATE TABLE t240 (c1 INTEGER) ; +INSERT INTO t240 VALUES(1); +CREATE TABLE t241 (c1 INTEGER) ; +INSERT INTO t241 VALUES(1); +CREATE TABLE t242 (c1 INTEGER) ; +INSERT INTO t242 VALUES(1); +CREATE TABLE t243 (c1 INTEGER) ; +INSERT INTO t243 VALUES(1); +CREATE TABLE t244 (c1 INTEGER) ; +INSERT INTO t244 VALUES(1); +CREATE TABLE t245 (c1 INTEGER) ; +INSERT INTO t245 VALUES(1); +CREATE TABLE t246 (c1 INTEGER) ; +INSERT INTO t246 VALUES(1); +CREATE TABLE t247 (c1 INTEGER) ; +INSERT INTO t247 VALUES(1); +CREATE TABLE t248 (c1 INTEGER) ; +INSERT INTO t248 VALUES(1); +CREATE TABLE t249 (c1 INTEGER) ; +INSERT INTO t249 VALUES(1); +CREATE TABLE t250 (c1 INTEGER) ; +INSERT INTO t250 VALUES(1); +CREATE TABLE t251 (c1 INTEGER) ; +INSERT INTO t251 VALUES(1); +CREATE TABLE t252 (c1 INTEGER) ; +INSERT INTO t252 VALUES(1); +CREATE TABLE t253 (c1 INTEGER) ; +INSERT INTO t253 VALUES(1); +CREATE TABLE t254 (c1 INTEGER) ; +INSERT INTO t254 VALUES(1); +CREATE TABLE t255 (c1 INTEGER) ; +INSERT INTO t255 VALUES(1); +CREATE TABLE t256 (c1 INTEGER) ; +INSERT INTO t256 VALUES(1); +CREATE TABLE t257 (c1 INTEGER) ; +INSERT INTO t257 VALUES(1); +CREATE TABLE t258 (c1 INTEGER) ; +INSERT INTO t258 VALUES(1); +CREATE TABLE t259 (c1 INTEGER) ; +INSERT INTO t259 VALUES(1); +CREATE TABLE t260 (c1 INTEGER) ; +INSERT INTO t260 VALUES(1); +CREATE TABLE t261 (c1 INTEGER) ; +INSERT INTO t261 VALUES(1); +CREATE TABLE t262 (c1 INTEGER) ; +INSERT INTO t262 VALUES(1); +CREATE TABLE t263 (c1 INTEGER) ; +INSERT INTO t263 VALUES(1); +CREATE TABLE t264 (c1 INTEGER) ; +INSERT INTO t264 VALUES(1); +CREATE TABLE t265 (c1 INTEGER) ; +INSERT INTO t265 VALUES(1); +CREATE TABLE t266 (c1 INTEGER) ; +INSERT INTO t266 VALUES(1); +CREATE TABLE t267 (c1 INTEGER) ; +INSERT INTO t267 VALUES(1); +CREATE TABLE t268 (c1 INTEGER) ; +INSERT INTO t268 VALUES(1); +CREATE TABLE t269 (c1 INTEGER) ; +INSERT INTO t269 VALUES(1); +CREATE TABLE t270 (c1 INTEGER) ; +INSERT INTO t270 VALUES(1); +CREATE TABLE t271 (c1 INTEGER) ; +INSERT INTO t271 VALUES(1); +CREATE TABLE t272 (c1 INTEGER) ; +INSERT INTO t272 VALUES(1); +CREATE TABLE t273 (c1 INTEGER) ; +INSERT INTO t273 VALUES(1); +CREATE TABLE t274 (c1 INTEGER) ; +INSERT INTO t274 VALUES(1); +CREATE TABLE t275 (c1 INTEGER) ; +INSERT INTO t275 VALUES(1); +CREATE TABLE t276 (c1 INTEGER) ; +INSERT INTO t276 VALUES(1); +CREATE TABLE t277 (c1 INTEGER) ; +INSERT INTO t277 VALUES(1); +CREATE TABLE t278 (c1 INTEGER) ; +INSERT INTO t278 VALUES(1); +CREATE TABLE t279 (c1 INTEGER) ; +INSERT INTO t279 VALUES(1); +CREATE TABLE t280 (c1 INTEGER) ; +INSERT INTO t280 VALUES(1); +CREATE TABLE t281 (c1 INTEGER) ; +INSERT INTO t281 VALUES(1); +CREATE TABLE t282 (c1 INTEGER) ; +INSERT INTO t282 VALUES(1); +CREATE TABLE t283 (c1 INTEGER) ; +INSERT INTO t283 VALUES(1); +CREATE TABLE t284 (c1 INTEGER) ; +INSERT INTO t284 VALUES(1); +CREATE TABLE t285 (c1 INTEGER) ; +INSERT INTO t285 VALUES(1); +CREATE TABLE t286 (c1 INTEGER) ; +INSERT INTO t286 VALUES(1); +CREATE TABLE t287 (c1 INTEGER) ; +INSERT INTO t287 VALUES(1); +CREATE TABLE t288 (c1 INTEGER) ; +INSERT INTO t288 VALUES(1); +CREATE TABLE t289 (c1 INTEGER) ; +INSERT INTO t289 VALUES(1); +CREATE TABLE t290 (c1 INTEGER) ; +INSERT INTO t290 VALUES(1); +CREATE TABLE t291 (c1 INTEGER) ; +INSERT INTO t291 VALUES(1); +CREATE TABLE t292 (c1 INTEGER) ; +INSERT INTO t292 VALUES(1); +CREATE TABLE t293 (c1 INTEGER) ; +INSERT INTO t293 VALUES(1); +CREATE TABLE t294 (c1 INTEGER) ; +INSERT INTO t294 VALUES(1); +CREATE TABLE t295 (c1 INTEGER) ; +INSERT INTO t295 VALUES(1); +CREATE TABLE t296 (c1 INTEGER) ; +INSERT INTO t296 VALUES(1); +CREATE TABLE t297 (c1 INTEGER) ; +INSERT INTO t297 VALUES(1); +CREATE TABLE t298 (c1 INTEGER) ; +INSERT INTO t298 VALUES(1); +CREATE TABLE t299 (c1 INTEGER) ; +INSERT INTO t299 VALUES(1); +CREATE TABLE t300 (c1 INTEGER) ; +INSERT INTO t300 VALUES(1); +CREATE TABLE t301 (c1 INTEGER) ; +INSERT INTO t301 VALUES(1); +CREATE TABLE t302 (c1 INTEGER) ; +INSERT INTO t302 VALUES(1); +CREATE TABLE t303 (c1 INTEGER) ; +INSERT INTO t303 VALUES(1); +CREATE TABLE t304 (c1 INTEGER) ; +INSERT INTO t304 VALUES(1); +CREATE TABLE t305 (c1 INTEGER) ; +INSERT INTO t305 VALUES(1); +CREATE TABLE t306 (c1 INTEGER) ; +INSERT INTO t306 VALUES(1); +CREATE TABLE t307 (c1 INTEGER) ; +INSERT INTO t307 VALUES(1); +CREATE TABLE t308 (c1 INTEGER) ; +INSERT INTO t308 VALUES(1); +CREATE TABLE t309 (c1 INTEGER) ; +INSERT INTO t309 VALUES(1); +CREATE TABLE t310 (c1 INTEGER) ; +INSERT INTO t310 VALUES(1); +CREATE TABLE t311 (c1 INTEGER) ; +INSERT INTO t311 VALUES(1); +CREATE TABLE t312 (c1 INTEGER) ; +INSERT INTO t312 VALUES(1); +CREATE TABLE t313 (c1 INTEGER) ; +INSERT INTO t313 VALUES(1); +CREATE TABLE t314 (c1 INTEGER) ; +INSERT INTO t314 VALUES(1); +CREATE TABLE t315 (c1 INTEGER) ; +INSERT INTO t315 VALUES(1); +CREATE TABLE t316 (c1 INTEGER) ; +INSERT INTO t316 VALUES(1); +CREATE TABLE t317 (c1 INTEGER) ; +INSERT INTO t317 VALUES(1); +CREATE TABLE t318 (c1 INTEGER) ; +INSERT INTO t318 VALUES(1); +CREATE TABLE t319 (c1 INTEGER) ; +INSERT INTO t319 VALUES(1); +CREATE TABLE t320 (c1 INTEGER) ; +INSERT INTO t320 VALUES(1); +CREATE TABLE t321 (c1 INTEGER) ; +INSERT INTO t321 VALUES(1); +CREATE TABLE t322 (c1 INTEGER) ; +INSERT INTO t322 VALUES(1); +CREATE TABLE t323 (c1 INTEGER) ; +INSERT INTO t323 VALUES(1); +CREATE TABLE t324 (c1 INTEGER) ; +INSERT INTO t324 VALUES(1); +CREATE TABLE t325 (c1 INTEGER) ; +INSERT INTO t325 VALUES(1); +CREATE TABLE t326 (c1 INTEGER) ; +INSERT INTO t326 VALUES(1); +CREATE TABLE t327 (c1 INTEGER) ; +INSERT INTO t327 VALUES(1); +CREATE TABLE t328 (c1 INTEGER) ; +INSERT INTO t328 VALUES(1); +CREATE TABLE t329 (c1 INTEGER) ; +INSERT INTO t329 VALUES(1); +CREATE TABLE t330 (c1 INTEGER) ; +INSERT INTO t330 VALUES(1); +CREATE TABLE t331 (c1 INTEGER) ; +INSERT INTO t331 VALUES(1); +CREATE TABLE t332 (c1 INTEGER) ; +INSERT INTO t332 VALUES(1); +CREATE TABLE t333 (c1 INTEGER) ; +INSERT INTO t333 VALUES(1); +CREATE TABLE t334 (c1 INTEGER) ; +INSERT INTO t334 VALUES(1); +CREATE TABLE t335 (c1 INTEGER) ; +INSERT INTO t335 VALUES(1); +CREATE TABLE t336 (c1 INTEGER) ; +INSERT INTO t336 VALUES(1); +CREATE TABLE t337 (c1 INTEGER) ; +INSERT INTO t337 VALUES(1); +CREATE TABLE t338 (c1 INTEGER) ; +INSERT INTO t338 VALUES(1); +CREATE TABLE t339 (c1 INTEGER) ; +INSERT INTO t339 VALUES(1); +CREATE TABLE t340 (c1 INTEGER) ; +INSERT INTO t340 VALUES(1); +CREATE TABLE t341 (c1 INTEGER) ; +INSERT INTO t341 VALUES(1); +CREATE TABLE t342 (c1 INTEGER) ; +INSERT INTO t342 VALUES(1); +CREATE TABLE t343 (c1 INTEGER) ; +INSERT INTO t343 VALUES(1); +CREATE TABLE t344 (c1 INTEGER) ; +INSERT INTO t344 VALUES(1); +CREATE TABLE t345 (c1 INTEGER) ; +INSERT INTO t345 VALUES(1); +CREATE TABLE t346 (c1 INTEGER) ; +INSERT INTO t346 VALUES(1); +CREATE TABLE t347 (c1 INTEGER) ; +INSERT INTO t347 VALUES(1); +CREATE TABLE t348 (c1 INTEGER) ; +INSERT INTO t348 VALUES(1); +CREATE TABLE t349 (c1 INTEGER) ; +INSERT INTO t349 VALUES(1); +CREATE TABLE t350 (c1 INTEGER) ; +INSERT INTO t350 VALUES(1); +CREATE TABLE t351 (c1 INTEGER) ; +INSERT INTO t351 VALUES(1); +CREATE TABLE t352 (c1 INTEGER) ; +INSERT INTO t352 VALUES(1); +CREATE TABLE t353 (c1 INTEGER) ; +INSERT INTO t353 VALUES(1); +CREATE TABLE t354 (c1 INTEGER) ; +INSERT INTO t354 VALUES(1); +CREATE TABLE t355 (c1 INTEGER) ; +INSERT INTO t355 VALUES(1); +CREATE TABLE t356 (c1 INTEGER) ; +INSERT INTO t356 VALUES(1); +CREATE TABLE t357 (c1 INTEGER) ; +INSERT INTO t357 VALUES(1); +CREATE TABLE t358 (c1 INTEGER) ; +INSERT INTO t358 VALUES(1); +CREATE TABLE t359 (c1 INTEGER) ; +INSERT INTO t359 VALUES(1); +CREATE TABLE t360 (c1 INTEGER) ; +INSERT INTO t360 VALUES(1); +CREATE TABLE t361 (c1 INTEGER) ; +INSERT INTO t361 VALUES(1); +CREATE TABLE t362 (c1 INTEGER) ; +INSERT INTO t362 VALUES(1); +CREATE TABLE t363 (c1 INTEGER) ; +INSERT INTO t363 VALUES(1); +CREATE TABLE t364 (c1 INTEGER) ; +INSERT INTO t364 VALUES(1); +CREATE TABLE t365 (c1 INTEGER) ; +INSERT INTO t365 VALUES(1); +CREATE TABLE t366 (c1 INTEGER) ; +INSERT INTO t366 VALUES(1); +CREATE TABLE t367 (c1 INTEGER) ; +INSERT INTO t367 VALUES(1); +CREATE TABLE t368 (c1 INTEGER) ; +INSERT INTO t368 VALUES(1); +CREATE TABLE t369 (c1 INTEGER) ; +INSERT INTO t369 VALUES(1); +CREATE TABLE t370 (c1 INTEGER) ; +INSERT INTO t370 VALUES(1); +CREATE TABLE t371 (c1 INTEGER) ; +INSERT INTO t371 VALUES(1); +CREATE TABLE t372 (c1 INTEGER) ; +INSERT INTO t372 VALUES(1); +CREATE TABLE t373 (c1 INTEGER) ; +INSERT INTO t373 VALUES(1); +CREATE TABLE t374 (c1 INTEGER) ; +INSERT INTO t374 VALUES(1); +CREATE TABLE t375 (c1 INTEGER) ; +INSERT INTO t375 VALUES(1); +CREATE TABLE t376 (c1 INTEGER) ; +INSERT INTO t376 VALUES(1); +CREATE TABLE t377 (c1 INTEGER) ; +INSERT INTO t377 VALUES(1); +CREATE TABLE t378 (c1 INTEGER) ; +INSERT INTO t378 VALUES(1); +CREATE TABLE t379 (c1 INTEGER) ; +INSERT INTO t379 VALUES(1); +CREATE TABLE t380 (c1 INTEGER) ; +INSERT INTO t380 VALUES(1); +CREATE TABLE t381 (c1 INTEGER) ; +INSERT INTO t381 VALUES(1); +CREATE TABLE t382 (c1 INTEGER) ; +INSERT INTO t382 VALUES(1); +CREATE TABLE t383 (c1 INTEGER) ; +INSERT INTO t383 VALUES(1); +CREATE TABLE t384 (c1 INTEGER) ; +INSERT INTO t384 VALUES(1); +CREATE TABLE t385 (c1 INTEGER) ; +INSERT INTO t385 VALUES(1); +CREATE TABLE t386 (c1 INTEGER) ; +INSERT INTO t386 VALUES(1); +CREATE TABLE t387 (c1 INTEGER) ; +INSERT INTO t387 VALUES(1); +CREATE TABLE t388 (c1 INTEGER) ; +INSERT INTO t388 VALUES(1); +CREATE TABLE t389 (c1 INTEGER) ; +INSERT INTO t389 VALUES(1); +CREATE TABLE t390 (c1 INTEGER) ; +INSERT INTO t390 VALUES(1); +CREATE TABLE t391 (c1 INTEGER) ; +INSERT INTO t391 VALUES(1); +CREATE TABLE t392 (c1 INTEGER) ; +INSERT INTO t392 VALUES(1); +CREATE TABLE t393 (c1 INTEGER) ; +INSERT INTO t393 VALUES(1); +CREATE TABLE t394 (c1 INTEGER) ; +INSERT INTO t394 VALUES(1); +CREATE TABLE t395 (c1 INTEGER) ; +INSERT INTO t395 VALUES(1); +CREATE TABLE t396 (c1 INTEGER) ; +INSERT INTO t396 VALUES(1); +CREATE TABLE t397 (c1 INTEGER) ; +INSERT INTO t397 VALUES(1); +CREATE TABLE t398 (c1 INTEGER) ; +INSERT INTO t398 VALUES(1); +CREATE TABLE t399 (c1 INTEGER) ; +INSERT INTO t399 VALUES(1); +CREATE TABLE t400 (c1 INTEGER) ; +INSERT INTO t400 VALUES(1); +CREATE TABLE t401 (c1 INTEGER) ; +INSERT INTO t401 VALUES(1); +CREATE TABLE t402 (c1 INTEGER) ; +INSERT INTO t402 VALUES(1); +CREATE TABLE t403 (c1 INTEGER) ; +INSERT INTO t403 VALUES(1); +CREATE TABLE t404 (c1 INTEGER) ; +INSERT INTO t404 VALUES(1); +CREATE TABLE t405 (c1 INTEGER) ; +INSERT INTO t405 VALUES(1); +CREATE TABLE t406 (c1 INTEGER) ; +INSERT INTO t406 VALUES(1); +CREATE TABLE t407 (c1 INTEGER) ; +INSERT INTO t407 VALUES(1); +CREATE TABLE t408 (c1 INTEGER) ; +INSERT INTO t408 VALUES(1); +CREATE TABLE t409 (c1 INTEGER) ; +INSERT INTO t409 VALUES(1); +CREATE TABLE t410 (c1 INTEGER) ; +INSERT INTO t410 VALUES(1); +CREATE TABLE t411 (c1 INTEGER) ; +INSERT INTO t411 VALUES(1); +CREATE TABLE t412 (c1 INTEGER) ; +INSERT INTO t412 VALUES(1); +CREATE TABLE t413 (c1 INTEGER) ; +INSERT INTO t413 VALUES(1); +CREATE TABLE t414 (c1 INTEGER) ; +INSERT INTO t414 VALUES(1); +CREATE TABLE t415 (c1 INTEGER) ; +INSERT INTO t415 VALUES(1); +CREATE TABLE t416 (c1 INTEGER) ; +INSERT INTO t416 VALUES(1); +CREATE TABLE t417 (c1 INTEGER) ; +INSERT INTO t417 VALUES(1); +CREATE TABLE t418 (c1 INTEGER) ; +INSERT INTO t418 VALUES(1); +CREATE TABLE t419 (c1 INTEGER) ; +INSERT INTO t419 VALUES(1); +CREATE TABLE t420 (c1 INTEGER) ; +INSERT INTO t420 VALUES(1); +CREATE TABLE t421 (c1 INTEGER) ; +INSERT INTO t421 VALUES(1); +CREATE TABLE t422 (c1 INTEGER) ; +INSERT INTO t422 VALUES(1); +CREATE TABLE t423 (c1 INTEGER) ; +INSERT INTO t423 VALUES(1); +CREATE TABLE t424 (c1 INTEGER) ; +INSERT INTO t424 VALUES(1); +CREATE TABLE t425 (c1 INTEGER) ; +INSERT INTO t425 VALUES(1); +CREATE TABLE t426 (c1 INTEGER) ; +INSERT INTO t426 VALUES(1); +CREATE TABLE t427 (c1 INTEGER) ; +INSERT INTO t427 VALUES(1); +CREATE TABLE t428 (c1 INTEGER) ; +INSERT INTO t428 VALUES(1); +CREATE TABLE t429 (c1 INTEGER) ; +INSERT INTO t429 VALUES(1); +CREATE TABLE t430 (c1 INTEGER) ; +INSERT INTO t430 VALUES(1); +CREATE TABLE t431 (c1 INTEGER) ; +INSERT INTO t431 VALUES(1); +CREATE TABLE t432 (c1 INTEGER) ; +INSERT INTO t432 VALUES(1); +CREATE TABLE t433 (c1 INTEGER) ; +INSERT INTO t433 VALUES(1); +CREATE TABLE t434 (c1 INTEGER) ; +INSERT INTO t434 VALUES(1); +CREATE TABLE t435 (c1 INTEGER) ; +INSERT INTO t435 VALUES(1); +CREATE TABLE t436 (c1 INTEGER) ; +INSERT INTO t436 VALUES(1); +CREATE TABLE t437 (c1 INTEGER) ; +INSERT INTO t437 VALUES(1); +CREATE TABLE t438 (c1 INTEGER) ; +INSERT INTO t438 VALUES(1); +CREATE TABLE t439 (c1 INTEGER) ; +INSERT INTO t439 VALUES(1); +CREATE TABLE t440 (c1 INTEGER) ; +INSERT INTO t440 VALUES(1); +CREATE TABLE t441 (c1 INTEGER) ; +INSERT INTO t441 VALUES(1); +CREATE TABLE t442 (c1 INTEGER) ; +INSERT INTO t442 VALUES(1); +CREATE TABLE t443 (c1 INTEGER) ; +INSERT INTO t443 VALUES(1); +CREATE TABLE t444 (c1 INTEGER) ; +INSERT INTO t444 VALUES(1); +CREATE TABLE t445 (c1 INTEGER) ; +INSERT INTO t445 VALUES(1); +CREATE TABLE t446 (c1 INTEGER) ; +INSERT INTO t446 VALUES(1); +CREATE TABLE t447 (c1 INTEGER) ; +INSERT INTO t447 VALUES(1); +CREATE TABLE t448 (c1 INTEGER) ; +INSERT INTO t448 VALUES(1); +CREATE TABLE t449 (c1 INTEGER) ; +INSERT INTO t449 VALUES(1); +CREATE TABLE t450 (c1 INTEGER) ; +INSERT INTO t450 VALUES(1); +CREATE TABLE t451 (c1 INTEGER) ; +INSERT INTO t451 VALUES(1); +CREATE TABLE t452 (c1 INTEGER) ; +INSERT INTO t452 VALUES(1); +CREATE TABLE t453 (c1 INTEGER) ; +INSERT INTO t453 VALUES(1); +CREATE TABLE t454 (c1 INTEGER) ; +INSERT INTO t454 VALUES(1); +CREATE TABLE t455 (c1 INTEGER) ; +INSERT INTO t455 VALUES(1); +CREATE TABLE t456 (c1 INTEGER) ; +INSERT INTO t456 VALUES(1); +CREATE TABLE t457 (c1 INTEGER) ; +INSERT INTO t457 VALUES(1); +CREATE TABLE t458 (c1 INTEGER) ; +INSERT INTO t458 VALUES(1); +CREATE TABLE t459 (c1 INTEGER) ; +INSERT INTO t459 VALUES(1); +CREATE TABLE t460 (c1 INTEGER) ; +INSERT INTO t460 VALUES(1); +CREATE TABLE t461 (c1 INTEGER) ; +INSERT INTO t461 VALUES(1); +CREATE TABLE t462 (c1 INTEGER) ; +INSERT INTO t462 VALUES(1); +CREATE TABLE t463 (c1 INTEGER) ; +INSERT INTO t463 VALUES(1); +CREATE TABLE t464 (c1 INTEGER) ; +INSERT INTO t464 VALUES(1); +CREATE TABLE t465 (c1 INTEGER) ; +INSERT INTO t465 VALUES(1); +CREATE TABLE t466 (c1 INTEGER) ; +INSERT INTO t466 VALUES(1); +CREATE TABLE t467 (c1 INTEGER) ; +INSERT INTO t467 VALUES(1); +CREATE TABLE t468 (c1 INTEGER) ; +INSERT INTO t468 VALUES(1); +CREATE TABLE t469 (c1 INTEGER) ; +INSERT INTO t469 VALUES(1); +CREATE TABLE t470 (c1 INTEGER) ; +INSERT INTO t470 VALUES(1); +CREATE TABLE t471 (c1 INTEGER) ; +INSERT INTO t471 VALUES(1); +CREATE TABLE t472 (c1 INTEGER) ; +INSERT INTO t472 VALUES(1); +CREATE TABLE t473 (c1 INTEGER) ; +INSERT INTO t473 VALUES(1); +CREATE TABLE t474 (c1 INTEGER) ; +INSERT INTO t474 VALUES(1); +CREATE TABLE t475 (c1 INTEGER) ; +INSERT INTO t475 VALUES(1); +CREATE TABLE t476 (c1 INTEGER) ; +INSERT INTO t476 VALUES(1); +CREATE TABLE t477 (c1 INTEGER) ; +INSERT INTO t477 VALUES(1); +CREATE TABLE t478 (c1 INTEGER) ; +INSERT INTO t478 VALUES(1); +CREATE TABLE t479 (c1 INTEGER) ; +INSERT INTO t479 VALUES(1); +CREATE TABLE t480 (c1 INTEGER) ; +INSERT INTO t480 VALUES(1); +CREATE TABLE t481 (c1 INTEGER) ; +INSERT INTO t481 VALUES(1); +CREATE TABLE t482 (c1 INTEGER) ; +INSERT INTO t482 VALUES(1); +CREATE TABLE t483 (c1 INTEGER) ; +INSERT INTO t483 VALUES(1); +CREATE TABLE t484 (c1 INTEGER) ; +INSERT INTO t484 VALUES(1); +CREATE TABLE t485 (c1 INTEGER) ; +INSERT INTO t485 VALUES(1); +CREATE TABLE t486 (c1 INTEGER) ; +INSERT INTO t486 VALUES(1); +CREATE TABLE t487 (c1 INTEGER) ; +INSERT INTO t487 VALUES(1); +CREATE TABLE t488 (c1 INTEGER) ; +INSERT INTO t488 VALUES(1); +CREATE TABLE t489 (c1 INTEGER) ; +INSERT INTO t489 VALUES(1); +CREATE TABLE t490 (c1 INTEGER) ; +INSERT INTO t490 VALUES(1); +CREATE TABLE t491 (c1 INTEGER) ; +INSERT INTO t491 VALUES(1); +CREATE TABLE t492 (c1 INTEGER) ; +INSERT INTO t492 VALUES(1); +CREATE TABLE t493 (c1 INTEGER) ; +INSERT INTO t493 VALUES(1); +CREATE TABLE t494 (c1 INTEGER) ; +INSERT INTO t494 VALUES(1); +CREATE TABLE t495 (c1 INTEGER) ; +INSERT INTO t495 VALUES(1); +CREATE TABLE t496 (c1 INTEGER) ; +INSERT INTO t496 VALUES(1); +CREATE TABLE t497 (c1 INTEGER) ; +INSERT INTO t497 VALUES(1); +CREATE TABLE t498 (c1 INTEGER) ; +INSERT INTO t498 VALUES(1); +CREATE TABLE t499 (c1 INTEGER) ; +INSERT INTO t499 VALUES(1); +CREATE TABLE t500 (c1 INTEGER) ; +INSERT INTO t500 VALUES(1); +CREATE TABLE t501 (c1 INTEGER) ; +INSERT INTO t501 VALUES(1); +CREATE TABLE t502 (c1 INTEGER) ; +INSERT INTO t502 VALUES(1); +CREATE TABLE t503 (c1 INTEGER) ; +INSERT INTO t503 VALUES(1); +CREATE TABLE t504 (c1 INTEGER) ; +INSERT INTO t504 VALUES(1); +CREATE TABLE t505 (c1 INTEGER) ; +INSERT INTO t505 VALUES(1); +CREATE TABLE t506 (c1 INTEGER) ; +INSERT INTO t506 VALUES(1); +CREATE TABLE t507 (c1 INTEGER) ; +INSERT INTO t507 VALUES(1); +CREATE TABLE t508 (c1 INTEGER) ; +INSERT INTO t508 VALUES(1); +CREATE TABLE t509 (c1 INTEGER) ; +INSERT INTO t509 VALUES(1); +CREATE TABLE t510 (c1 INTEGER) ; +INSERT INTO t510 VALUES(1); +CREATE TABLE t511 (c1 INTEGER) ; +INSERT INTO t511 VALUES(1); +CREATE TABLE t512 (c1 INTEGER) ; +INSERT INTO t512 VALUES(1); +CREATE TABLE t513 (c1 INTEGER) ; +INSERT INTO t513 VALUES(1); +CREATE TABLE t514 (c1 INTEGER) ; +INSERT INTO t514 VALUES(1); +CREATE TABLE t515 (c1 INTEGER) ; +INSERT INTO t515 VALUES(1); +CREATE TABLE t516 (c1 INTEGER) ; +INSERT INTO t516 VALUES(1); +CREATE TABLE t517 (c1 INTEGER) ; +INSERT INTO t517 VALUES(1); +CREATE TABLE t518 (c1 INTEGER) ; +INSERT INTO t518 VALUES(1); +CREATE TABLE t519 (c1 INTEGER) ; +INSERT INTO t519 VALUES(1); +CREATE TABLE t520 (c1 INTEGER) ; +INSERT INTO t520 VALUES(1); +CREATE TABLE t521 (c1 INTEGER) ; +INSERT INTO t521 VALUES(1); +CREATE TABLE t522 (c1 INTEGER) ; +INSERT INTO t522 VALUES(1); +CREATE TABLE t523 (c1 INTEGER) ; +INSERT INTO t523 VALUES(1); +CREATE TABLE t524 (c1 INTEGER) ; +INSERT INTO t524 VALUES(1); +CREATE TABLE t525 (c1 INTEGER) ; +INSERT INTO t525 VALUES(1); +CREATE TABLE t526 (c1 INTEGER) ; +INSERT INTO t526 VALUES(1); +CREATE TABLE t527 (c1 INTEGER) ; +INSERT INTO t527 VALUES(1); +CREATE TABLE t528 (c1 INTEGER) ; +INSERT INTO t528 VALUES(1); +CREATE TABLE t529 (c1 INTEGER) ; +INSERT INTO t529 VALUES(1); +CREATE TABLE t530 (c1 INTEGER) ; +INSERT INTO t530 VALUES(1); +CREATE TABLE t531 (c1 INTEGER) ; +INSERT INTO t531 VALUES(1); +CREATE TABLE t532 (c1 INTEGER) ; +INSERT INTO t532 VALUES(1); +CREATE TABLE t533 (c1 INTEGER) ; +INSERT INTO t533 VALUES(1); +CREATE TABLE t534 (c1 INTEGER) ; +INSERT INTO t534 VALUES(1); +CREATE TABLE t535 (c1 INTEGER) ; +INSERT INTO t535 VALUES(1); +CREATE TABLE t536 (c1 INTEGER) ; +INSERT INTO t536 VALUES(1); +CREATE TABLE t537 (c1 INTEGER) ; +INSERT INTO t537 VALUES(1); +CREATE TABLE t538 (c1 INTEGER) ; +INSERT INTO t538 VALUES(1); +CREATE TABLE t539 (c1 INTEGER) ; +INSERT INTO t539 VALUES(1); +CREATE TABLE t540 (c1 INTEGER) ; +INSERT INTO t540 VALUES(1); +CREATE TABLE t541 (c1 INTEGER) ; +INSERT INTO t541 VALUES(1); +CREATE TABLE t542 (c1 INTEGER) ; +INSERT INTO t542 VALUES(1); +CREATE TABLE t543 (c1 INTEGER) ; +INSERT INTO t543 VALUES(1); +CREATE TABLE t544 (c1 INTEGER) ; +INSERT INTO t544 VALUES(1); +CREATE TABLE t545 (c1 INTEGER) ; +INSERT INTO t545 VALUES(1); +CREATE TABLE t546 (c1 INTEGER) ; +INSERT INTO t546 VALUES(1); +CREATE TABLE t547 (c1 INTEGER) ; +INSERT INTO t547 VALUES(1); +CREATE TABLE t548 (c1 INTEGER) ; +INSERT INTO t548 VALUES(1); +CREATE TABLE t549 (c1 INTEGER) ; +INSERT INTO t549 VALUES(1); +CREATE TABLE t550 (c1 INTEGER) ; +INSERT INTO t550 VALUES(1); +CREATE TABLE t551 (c1 INTEGER) ; +INSERT INTO t551 VALUES(1); +CREATE TABLE t552 (c1 INTEGER) ; +INSERT INTO t552 VALUES(1); +CREATE TABLE t553 (c1 INTEGER) ; +INSERT INTO t553 VALUES(1); +CREATE TABLE t554 (c1 INTEGER) ; +INSERT INTO t554 VALUES(1); +CREATE TABLE t555 (c1 INTEGER) ; +INSERT INTO t555 VALUES(1); +CREATE TABLE t556 (c1 INTEGER) ; +INSERT INTO t556 VALUES(1); +CREATE TABLE t557 (c1 INTEGER) ; +INSERT INTO t557 VALUES(1); +CREATE TABLE t558 (c1 INTEGER) ; +INSERT INTO t558 VALUES(1); +CREATE TABLE t559 (c1 INTEGER) ; +INSERT INTO t559 VALUES(1); +CREATE TABLE t560 (c1 INTEGER) ; +INSERT INTO t560 VALUES(1); +CREATE TABLE t561 (c1 INTEGER) ; +INSERT INTO t561 VALUES(1); +CREATE TABLE t562 (c1 INTEGER) ; +INSERT INTO t562 VALUES(1); +CREATE TABLE t563 (c1 INTEGER) ; +INSERT INTO t563 VALUES(1); +CREATE TABLE t564 (c1 INTEGER) ; +INSERT INTO t564 VALUES(1); +CREATE TABLE t565 (c1 INTEGER) ; +INSERT INTO t565 VALUES(1); +CREATE TABLE t566 (c1 INTEGER) ; +INSERT INTO t566 VALUES(1); +CREATE TABLE t567 (c1 INTEGER) ; +INSERT INTO t567 VALUES(1); +CREATE TABLE t568 (c1 INTEGER) ; +INSERT INTO t568 VALUES(1); +CREATE TABLE t569 (c1 INTEGER) ; +INSERT INTO t569 VALUES(1); +CREATE TABLE t570 (c1 INTEGER) ; +INSERT INTO t570 VALUES(1); +CREATE TABLE t571 (c1 INTEGER) ; +INSERT INTO t571 VALUES(1); +CREATE TABLE t572 (c1 INTEGER) ; +INSERT INTO t572 VALUES(1); +CREATE TABLE t573 (c1 INTEGER) ; +INSERT INTO t573 VALUES(1); +CREATE TABLE t574 (c1 INTEGER) ; +INSERT INTO t574 VALUES(1); +CREATE TABLE t575 (c1 INTEGER) ; +INSERT INTO t575 VALUES(1); +CREATE TABLE t576 (c1 INTEGER) ; +INSERT INTO t576 VALUES(1); +CREATE TABLE t577 (c1 INTEGER) ; +INSERT INTO t577 VALUES(1); +CREATE TABLE t578 (c1 INTEGER) ; +INSERT INTO t578 VALUES(1); +CREATE TABLE t579 (c1 INTEGER) ; +INSERT INTO t579 VALUES(1); +CREATE TABLE t580 (c1 INTEGER) ; +INSERT INTO t580 VALUES(1); +CREATE TABLE t581 (c1 INTEGER) ; +INSERT INTO t581 VALUES(1); +CREATE TABLE t582 (c1 INTEGER) ; +INSERT INTO t582 VALUES(1); +CREATE TABLE t583 (c1 INTEGER) ; +INSERT INTO t583 VALUES(1); +CREATE TABLE t584 (c1 INTEGER) ; +INSERT INTO t584 VALUES(1); +CREATE TABLE t585 (c1 INTEGER) ; +INSERT INTO t585 VALUES(1); +CREATE TABLE t586 (c1 INTEGER) ; +INSERT INTO t586 VALUES(1); +CREATE TABLE t587 (c1 INTEGER) ; +INSERT INTO t587 VALUES(1); +CREATE TABLE t588 (c1 INTEGER) ; +INSERT INTO t588 VALUES(1); +CREATE TABLE t589 (c1 INTEGER) ; +INSERT INTO t589 VALUES(1); +CREATE TABLE t590 (c1 INTEGER) ; +INSERT INTO t590 VALUES(1); +CREATE TABLE t591 (c1 INTEGER) ; +INSERT INTO t591 VALUES(1); +CREATE TABLE t592 (c1 INTEGER) ; +INSERT INTO t592 VALUES(1); +CREATE TABLE t593 (c1 INTEGER) ; +INSERT INTO t593 VALUES(1); +CREATE TABLE t594 (c1 INTEGER) ; +INSERT INTO t594 VALUES(1); +CREATE TABLE t595 (c1 INTEGER) ; +INSERT INTO t595 VALUES(1); +CREATE TABLE t596 (c1 INTEGER) ; +INSERT INTO t596 VALUES(1); +CREATE TABLE t597 (c1 INTEGER) ; +INSERT INTO t597 VALUES(1); +CREATE TABLE t598 (c1 INTEGER) ; +INSERT INTO t598 VALUES(1); +CREATE TABLE t599 (c1 INTEGER) ; +INSERT INTO t599 VALUES(1); +CREATE TABLE t600 (c1 INTEGER) ; +INSERT INTO t600 VALUES(1); +CREATE TABLE t601 (c1 INTEGER) ; +INSERT INTO t601 VALUES(1); +CREATE TABLE t602 (c1 INTEGER) ; +INSERT INTO t602 VALUES(1); +CREATE TABLE t603 (c1 INTEGER) ; +INSERT INTO t603 VALUES(1); +CREATE TABLE t604 (c1 INTEGER) ; +INSERT INTO t604 VALUES(1); +CREATE TABLE t605 (c1 INTEGER) ; +INSERT INTO t605 VALUES(1); +CREATE TABLE t606 (c1 INTEGER) ; +INSERT INTO t606 VALUES(1); +CREATE TABLE t607 (c1 INTEGER) ; +INSERT INTO t607 VALUES(1); +CREATE TABLE t608 (c1 INTEGER) ; +INSERT INTO t608 VALUES(1); +CREATE TABLE t609 (c1 INTEGER) ; +INSERT INTO t609 VALUES(1); +CREATE TABLE t610 (c1 INTEGER) ; +INSERT INTO t610 VALUES(1); +CREATE TABLE t611 (c1 INTEGER) ; +INSERT INTO t611 VALUES(1); +CREATE TABLE t612 (c1 INTEGER) ; +INSERT INTO t612 VALUES(1); +CREATE TABLE t613 (c1 INTEGER) ; +INSERT INTO t613 VALUES(1); +CREATE TABLE t614 (c1 INTEGER) ; +INSERT INTO t614 VALUES(1); +CREATE TABLE t615 (c1 INTEGER) ; +INSERT INTO t615 VALUES(1); +CREATE TABLE t616 (c1 INTEGER) ; +INSERT INTO t616 VALUES(1); +CREATE TABLE t617 (c1 INTEGER) ; +INSERT INTO t617 VALUES(1); +CREATE TABLE t618 (c1 INTEGER) ; +INSERT INTO t618 VALUES(1); +CREATE TABLE t619 (c1 INTEGER) ; +INSERT INTO t619 VALUES(1); +CREATE TABLE t620 (c1 INTEGER) ; +INSERT INTO t620 VALUES(1); +CREATE TABLE t621 (c1 INTEGER) ; +INSERT INTO t621 VALUES(1); +CREATE TABLE t622 (c1 INTEGER) ; +INSERT INTO t622 VALUES(1); +CREATE TABLE t623 (c1 INTEGER) ; +INSERT INTO t623 VALUES(1); +CREATE TABLE t624 (c1 INTEGER) ; +INSERT INTO t624 VALUES(1); +CREATE TABLE t625 (c1 INTEGER) ; +INSERT INTO t625 VALUES(1); +CREATE TABLE t626 (c1 INTEGER) ; +INSERT INTO t626 VALUES(1); +CREATE TABLE t627 (c1 INTEGER) ; +INSERT INTO t627 VALUES(1); +CREATE TABLE t628 (c1 INTEGER) ; +INSERT INTO t628 VALUES(1); +CREATE TABLE t629 (c1 INTEGER) ; +INSERT INTO t629 VALUES(1); +CREATE TABLE t630 (c1 INTEGER) ; +INSERT INTO t630 VALUES(1); +CREATE TABLE t631 (c1 INTEGER) ; +INSERT INTO t631 VALUES(1); +CREATE TABLE t632 (c1 INTEGER) ; +INSERT INTO t632 VALUES(1); +CREATE TABLE t633 (c1 INTEGER) ; +INSERT INTO t633 VALUES(1); +CREATE TABLE t634 (c1 INTEGER) ; +INSERT INTO t634 VALUES(1); +CREATE TABLE t635 (c1 INTEGER) ; +INSERT INTO t635 VALUES(1); +CREATE TABLE t636 (c1 INTEGER) ; +INSERT INTO t636 VALUES(1); +CREATE TABLE t637 (c1 INTEGER) ; +INSERT INTO t637 VALUES(1); +CREATE TABLE t638 (c1 INTEGER) ; +INSERT INTO t638 VALUES(1); +CREATE TABLE t639 (c1 INTEGER) ; +INSERT INTO t639 VALUES(1); +CREATE TABLE t640 (c1 INTEGER) ; +INSERT INTO t640 VALUES(1); +CREATE TABLE t641 (c1 INTEGER) ; +INSERT INTO t641 VALUES(1); +CREATE TABLE t642 (c1 INTEGER) ; +INSERT INTO t642 VALUES(1); +CREATE TABLE t643 (c1 INTEGER) ; +INSERT INTO t643 VALUES(1); +CREATE TABLE t644 (c1 INTEGER) ; +INSERT INTO t644 VALUES(1); +CREATE TABLE t645 (c1 INTEGER) ; +INSERT INTO t645 VALUES(1); +CREATE TABLE t646 (c1 INTEGER) ; +INSERT INTO t646 VALUES(1); +CREATE TABLE t647 (c1 INTEGER) ; +INSERT INTO t647 VALUES(1); +CREATE TABLE t648 (c1 INTEGER) ; +INSERT INTO t648 VALUES(1); +CREATE TABLE t649 (c1 INTEGER) ; +INSERT INTO t649 VALUES(1); +CREATE TABLE t650 (c1 INTEGER) ; +INSERT INTO t650 VALUES(1); +CREATE TABLE t651 (c1 INTEGER) ; +INSERT INTO t651 VALUES(1); +CREATE TABLE t652 (c1 INTEGER) ; +INSERT INTO t652 VALUES(1); +CREATE TABLE t653 (c1 INTEGER) ; +INSERT INTO t653 VALUES(1); +CREATE TABLE t654 (c1 INTEGER) ; +INSERT INTO t654 VALUES(1); +CREATE TABLE t655 (c1 INTEGER) ; +INSERT INTO t655 VALUES(1); +CREATE TABLE t656 (c1 INTEGER) ; +INSERT INTO t656 VALUES(1); +CREATE TABLE t657 (c1 INTEGER) ; +INSERT INTO t657 VALUES(1); +CREATE TABLE t658 (c1 INTEGER) ; +INSERT INTO t658 VALUES(1); +CREATE TABLE t659 (c1 INTEGER) ; +INSERT INTO t659 VALUES(1); +CREATE TABLE t660 (c1 INTEGER) ; +INSERT INTO t660 VALUES(1); +CREATE TABLE t661 (c1 INTEGER) ; +INSERT INTO t661 VALUES(1); +CREATE TABLE t662 (c1 INTEGER) ; +INSERT INTO t662 VALUES(1); +CREATE TABLE t663 (c1 INTEGER) ; +INSERT INTO t663 VALUES(1); +CREATE TABLE t664 (c1 INTEGER) ; +INSERT INTO t664 VALUES(1); +CREATE TABLE t665 (c1 INTEGER) ; +INSERT INTO t665 VALUES(1); +CREATE TABLE t666 (c1 INTEGER) ; +INSERT INTO t666 VALUES(1); +CREATE TABLE t667 (c1 INTEGER) ; +INSERT INTO t667 VALUES(1); +CREATE TABLE t668 (c1 INTEGER) ; +INSERT INTO t668 VALUES(1); +CREATE TABLE t669 (c1 INTEGER) ; +INSERT INTO t669 VALUES(1); +CREATE TABLE t670 (c1 INTEGER) ; +INSERT INTO t670 VALUES(1); +CREATE TABLE t671 (c1 INTEGER) ; +INSERT INTO t671 VALUES(1); +CREATE TABLE t672 (c1 INTEGER) ; +INSERT INTO t672 VALUES(1); +CREATE TABLE t673 (c1 INTEGER) ; +INSERT INTO t673 VALUES(1); +CREATE TABLE t674 (c1 INTEGER) ; +INSERT INTO t674 VALUES(1); +CREATE TABLE t675 (c1 INTEGER) ; +INSERT INTO t675 VALUES(1); +CREATE TABLE t676 (c1 INTEGER) ; +INSERT INTO t676 VALUES(1); +CREATE TABLE t677 (c1 INTEGER) ; +INSERT INTO t677 VALUES(1); +CREATE TABLE t678 (c1 INTEGER) ; +INSERT INTO t678 VALUES(1); +CREATE TABLE t679 (c1 INTEGER) ; +INSERT INTO t679 VALUES(1); +CREATE TABLE t680 (c1 INTEGER) ; +INSERT INTO t680 VALUES(1); +CREATE TABLE t681 (c1 INTEGER) ; +INSERT INTO t681 VALUES(1); +CREATE TABLE t682 (c1 INTEGER) ; +INSERT INTO t682 VALUES(1); +CREATE TABLE t683 (c1 INTEGER) ; +INSERT INTO t683 VALUES(1); +CREATE TABLE t684 (c1 INTEGER) ; +INSERT INTO t684 VALUES(1); +CREATE TABLE t685 (c1 INTEGER) ; +INSERT INTO t685 VALUES(1); +CREATE TABLE t686 (c1 INTEGER) ; +INSERT INTO t686 VALUES(1); +CREATE TABLE t687 (c1 INTEGER) ; +INSERT INTO t687 VALUES(1); +CREATE TABLE t688 (c1 INTEGER) ; +INSERT INTO t688 VALUES(1); +CREATE TABLE t689 (c1 INTEGER) ; +INSERT INTO t689 VALUES(1); +CREATE TABLE t690 (c1 INTEGER) ; +INSERT INTO t690 VALUES(1); +CREATE TABLE t691 (c1 INTEGER) ; +INSERT INTO t691 VALUES(1); +CREATE TABLE t692 (c1 INTEGER) ; +INSERT INTO t692 VALUES(1); +CREATE TABLE t693 (c1 INTEGER) ; +INSERT INTO t693 VALUES(1); +CREATE TABLE t694 (c1 INTEGER) ; +INSERT INTO t694 VALUES(1); +CREATE TABLE t695 (c1 INTEGER) ; +INSERT INTO t695 VALUES(1); +CREATE TABLE t696 (c1 INTEGER) ; +INSERT INTO t696 VALUES(1); +CREATE TABLE t697 (c1 INTEGER) ; +INSERT INTO t697 VALUES(1); +CREATE TABLE t698 (c1 INTEGER) ; +INSERT INTO t698 VALUES(1); +CREATE TABLE t699 (c1 INTEGER) ; +INSERT INTO t699 VALUES(1); +CREATE TABLE t700 (c1 INTEGER) ; +INSERT INTO t700 VALUES(1); +CREATE TABLE t701 (c1 INTEGER) ; +INSERT INTO t701 VALUES(1); +CREATE TABLE t702 (c1 INTEGER) ; +INSERT INTO t702 VALUES(1); +CREATE TABLE t703 (c1 INTEGER) ; +INSERT INTO t703 VALUES(1); +CREATE TABLE t704 (c1 INTEGER) ; +INSERT INTO t704 VALUES(1); +CREATE TABLE t705 (c1 INTEGER) ; +INSERT INTO t705 VALUES(1); +CREATE TABLE t706 (c1 INTEGER) ; +INSERT INTO t706 VALUES(1); +CREATE TABLE t707 (c1 INTEGER) ; +INSERT INTO t707 VALUES(1); +CREATE TABLE t708 (c1 INTEGER) ; +INSERT INTO t708 VALUES(1); +CREATE TABLE t709 (c1 INTEGER) ; +INSERT INTO t709 VALUES(1); +CREATE TABLE t710 (c1 INTEGER) ; +INSERT INTO t710 VALUES(1); +CREATE TABLE t711 (c1 INTEGER) ; +INSERT INTO t711 VALUES(1); +CREATE TABLE t712 (c1 INTEGER) ; +INSERT INTO t712 VALUES(1); +CREATE TABLE t713 (c1 INTEGER) ; +INSERT INTO t713 VALUES(1); +CREATE TABLE t714 (c1 INTEGER) ; +INSERT INTO t714 VALUES(1); +CREATE TABLE t715 (c1 INTEGER) ; +INSERT INTO t715 VALUES(1); +CREATE TABLE t716 (c1 INTEGER) ; +INSERT INTO t716 VALUES(1); +CREATE TABLE t717 (c1 INTEGER) ; +INSERT INTO t717 VALUES(1); +CREATE TABLE t718 (c1 INTEGER) ; +INSERT INTO t718 VALUES(1); +CREATE TABLE t719 (c1 INTEGER) ; +INSERT INTO t719 VALUES(1); +CREATE TABLE t720 (c1 INTEGER) ; +INSERT INTO t720 VALUES(1); +CREATE TABLE t721 (c1 INTEGER) ; +INSERT INTO t721 VALUES(1); +CREATE TABLE t722 (c1 INTEGER) ; +INSERT INTO t722 VALUES(1); +CREATE TABLE t723 (c1 INTEGER) ; +INSERT INTO t723 VALUES(1); +CREATE TABLE t724 (c1 INTEGER) ; +INSERT INTO t724 VALUES(1); +CREATE TABLE t725 (c1 INTEGER) ; +INSERT INTO t725 VALUES(1); +CREATE TABLE t726 (c1 INTEGER) ; +INSERT INTO t726 VALUES(1); +CREATE TABLE t727 (c1 INTEGER) ; +INSERT INTO t727 VALUES(1); +CREATE TABLE t728 (c1 INTEGER) ; +INSERT INTO t728 VALUES(1); +CREATE TABLE t729 (c1 INTEGER) ; +INSERT INTO t729 VALUES(1); +CREATE TABLE t730 (c1 INTEGER) ; +INSERT INTO t730 VALUES(1); +CREATE TABLE t731 (c1 INTEGER) ; +INSERT INTO t731 VALUES(1); +CREATE TABLE t732 (c1 INTEGER) ; +INSERT INTO t732 VALUES(1); +CREATE TABLE t733 (c1 INTEGER) ; +INSERT INTO t733 VALUES(1); +CREATE TABLE t734 (c1 INTEGER) ; +INSERT INTO t734 VALUES(1); +CREATE TABLE t735 (c1 INTEGER) ; +INSERT INTO t735 VALUES(1); +CREATE TABLE t736 (c1 INTEGER) ; +INSERT INTO t736 VALUES(1); +CREATE TABLE t737 (c1 INTEGER) ; +INSERT INTO t737 VALUES(1); +CREATE TABLE t738 (c1 INTEGER) ; +INSERT INTO t738 VALUES(1); +CREATE TABLE t739 (c1 INTEGER) ; +INSERT INTO t739 VALUES(1); +CREATE TABLE t740 (c1 INTEGER) ; +INSERT INTO t740 VALUES(1); +CREATE TABLE t741 (c1 INTEGER) ; +INSERT INTO t741 VALUES(1); +CREATE TABLE t742 (c1 INTEGER) ; +INSERT INTO t742 VALUES(1); +CREATE TABLE t743 (c1 INTEGER) ; +INSERT INTO t743 VALUES(1); +CREATE TABLE t744 (c1 INTEGER) ; +INSERT INTO t744 VALUES(1); +CREATE TABLE t745 (c1 INTEGER) ; +INSERT INTO t745 VALUES(1); +CREATE TABLE t746 (c1 INTEGER) ; +INSERT INTO t746 VALUES(1); +CREATE TABLE t747 (c1 INTEGER) ; +INSERT INTO t747 VALUES(1); +CREATE TABLE t748 (c1 INTEGER) ; +INSERT INTO t748 VALUES(1); +CREATE TABLE t749 (c1 INTEGER) ; +INSERT INTO t749 VALUES(1); +CREATE TABLE t750 (c1 INTEGER) ; +INSERT INTO t750 VALUES(1); +CREATE TABLE t751 (c1 INTEGER) ; +INSERT INTO t751 VALUES(1); +CREATE TABLE t752 (c1 INTEGER) ; +INSERT INTO t752 VALUES(1); +CREATE TABLE t753 (c1 INTEGER) ; +INSERT INTO t753 VALUES(1); +CREATE TABLE t754 (c1 INTEGER) ; +INSERT INTO t754 VALUES(1); +CREATE TABLE t755 (c1 INTEGER) ; +INSERT INTO t755 VALUES(1); +CREATE TABLE t756 (c1 INTEGER) ; +INSERT INTO t756 VALUES(1); +CREATE TABLE t757 (c1 INTEGER) ; +INSERT INTO t757 VALUES(1); +CREATE TABLE t758 (c1 INTEGER) ; +INSERT INTO t758 VALUES(1); +CREATE TABLE t759 (c1 INTEGER) ; +INSERT INTO t759 VALUES(1); +CREATE TABLE t760 (c1 INTEGER) ; +INSERT INTO t760 VALUES(1); +CREATE TABLE t761 (c1 INTEGER) ; +INSERT INTO t761 VALUES(1); +CREATE TABLE t762 (c1 INTEGER) ; +INSERT INTO t762 VALUES(1); +CREATE TABLE t763 (c1 INTEGER) ; +INSERT INTO t763 VALUES(1); +CREATE TABLE t764 (c1 INTEGER) ; +INSERT INTO t764 VALUES(1); +CREATE TABLE t765 (c1 INTEGER) ; +INSERT INTO t765 VALUES(1); +CREATE TABLE t766 (c1 INTEGER) ; +INSERT INTO t766 VALUES(1); +CREATE TABLE t767 (c1 INTEGER) ; +INSERT INTO t767 VALUES(1); +CREATE TABLE t768 (c1 INTEGER) ; +INSERT INTO t768 VALUES(1); +CREATE TABLE t769 (c1 INTEGER) ; +INSERT INTO t769 VALUES(1); +CREATE TABLE t770 (c1 INTEGER) ; +INSERT INTO t770 VALUES(1); +CREATE TABLE t771 (c1 INTEGER) ; +INSERT INTO t771 VALUES(1); +CREATE TABLE t772 (c1 INTEGER) ; +INSERT INTO t772 VALUES(1); +CREATE TABLE t773 (c1 INTEGER) ; +INSERT INTO t773 VALUES(1); +CREATE TABLE t774 (c1 INTEGER) ; +INSERT INTO t774 VALUES(1); +CREATE TABLE t775 (c1 INTEGER) ; +INSERT INTO t775 VALUES(1); +CREATE TABLE t776 (c1 INTEGER) ; +INSERT INTO t776 VALUES(1); +CREATE TABLE t777 (c1 INTEGER) ; +INSERT INTO t777 VALUES(1); +CREATE TABLE t778 (c1 INTEGER) ; +INSERT INTO t778 VALUES(1); +CREATE TABLE t779 (c1 INTEGER) ; +INSERT INTO t779 VALUES(1); +CREATE TABLE t780 (c1 INTEGER) ; +INSERT INTO t780 VALUES(1); +CREATE TABLE t781 (c1 INTEGER) ; +INSERT INTO t781 VALUES(1); +CREATE TABLE t782 (c1 INTEGER) ; +INSERT INTO t782 VALUES(1); +CREATE TABLE t783 (c1 INTEGER) ; +INSERT INTO t783 VALUES(1); +CREATE TABLE t784 (c1 INTEGER) ; +INSERT INTO t784 VALUES(1); +CREATE TABLE t785 (c1 INTEGER) ; +INSERT INTO t785 VALUES(1); +CREATE TABLE t786 (c1 INTEGER) ; +INSERT INTO t786 VALUES(1); +CREATE TABLE t787 (c1 INTEGER) ; +INSERT INTO t787 VALUES(1); +CREATE TABLE t788 (c1 INTEGER) ; +INSERT INTO t788 VALUES(1); +CREATE TABLE t789 (c1 INTEGER) ; +INSERT INTO t789 VALUES(1); +CREATE TABLE t790 (c1 INTEGER) ; +INSERT INTO t790 VALUES(1); +CREATE TABLE t791 (c1 INTEGER) ; +INSERT INTO t791 VALUES(1); +CREATE TABLE t792 (c1 INTEGER) ; +INSERT INTO t792 VALUES(1); +CREATE TABLE t793 (c1 INTEGER) ; +INSERT INTO t793 VALUES(1); +CREATE TABLE t794 (c1 INTEGER) ; +INSERT INTO t794 VALUES(1); +CREATE TABLE t795 (c1 INTEGER) ; +INSERT INTO t795 VALUES(1); +CREATE TABLE t796 (c1 INTEGER) ; +INSERT INTO t796 VALUES(1); +CREATE TABLE t797 (c1 INTEGER) ; +INSERT INTO t797 VALUES(1); +CREATE TABLE t798 (c1 INTEGER) ; +INSERT INTO t798 VALUES(1); +CREATE TABLE t799 (c1 INTEGER) ; +INSERT INTO t799 VALUES(1); +CREATE TABLE t800 (c1 INTEGER) ; +INSERT INTO t800 VALUES(1); +CREATE TABLE t801 (c1 INTEGER) ; +INSERT INTO t801 VALUES(1); +CREATE TABLE t802 (c1 INTEGER) ; +INSERT INTO t802 VALUES(1); +CREATE TABLE t803 (c1 INTEGER) ; +INSERT INTO t803 VALUES(1); +CREATE TABLE t804 (c1 INTEGER) ; +INSERT INTO t804 VALUES(1); +CREATE TABLE t805 (c1 INTEGER) ; +INSERT INTO t805 VALUES(1); +CREATE TABLE t806 (c1 INTEGER) ; +INSERT INTO t806 VALUES(1); +CREATE TABLE t807 (c1 INTEGER) ; +INSERT INTO t807 VALUES(1); +CREATE TABLE t808 (c1 INTEGER) ; +INSERT INTO t808 VALUES(1); +CREATE TABLE t809 (c1 INTEGER) ; +INSERT INTO t809 VALUES(1); +CREATE TABLE t810 (c1 INTEGER) ; +INSERT INTO t810 VALUES(1); +CREATE TABLE t811 (c1 INTEGER) ; +INSERT INTO t811 VALUES(1); +CREATE TABLE t812 (c1 INTEGER) ; +INSERT INTO t812 VALUES(1); +CREATE TABLE t813 (c1 INTEGER) ; +INSERT INTO t813 VALUES(1); +CREATE TABLE t814 (c1 INTEGER) ; +INSERT INTO t814 VALUES(1); +CREATE TABLE t815 (c1 INTEGER) ; +INSERT INTO t815 VALUES(1); +CREATE TABLE t816 (c1 INTEGER) ; +INSERT INTO t816 VALUES(1); +CREATE TABLE t817 (c1 INTEGER) ; +INSERT INTO t817 VALUES(1); +CREATE TABLE t818 (c1 INTEGER) ; +INSERT INTO t818 VALUES(1); +CREATE TABLE t819 (c1 INTEGER) ; +INSERT INTO t819 VALUES(1); +CREATE TABLE t820 (c1 INTEGER) ; +INSERT INTO t820 VALUES(1); +CREATE TABLE t821 (c1 INTEGER) ; +INSERT INTO t821 VALUES(1); +CREATE TABLE t822 (c1 INTEGER) ; +INSERT INTO t822 VALUES(1); +CREATE TABLE t823 (c1 INTEGER) ; +INSERT INTO t823 VALUES(1); +CREATE TABLE t824 (c1 INTEGER) ; +INSERT INTO t824 VALUES(1); +CREATE TABLE t825 (c1 INTEGER) ; +INSERT INTO t825 VALUES(1); +CREATE TABLE t826 (c1 INTEGER) ; +INSERT INTO t826 VALUES(1); +CREATE TABLE t827 (c1 INTEGER) ; +INSERT INTO t827 VALUES(1); +CREATE TABLE t828 (c1 INTEGER) ; +INSERT INTO t828 VALUES(1); +CREATE TABLE t829 (c1 INTEGER) ; +INSERT INTO t829 VALUES(1); +CREATE TABLE t830 (c1 INTEGER) ; +INSERT INTO t830 VALUES(1); +CREATE TABLE t831 (c1 INTEGER) ; +INSERT INTO t831 VALUES(1); +CREATE TABLE t832 (c1 INTEGER) ; +INSERT INTO t832 VALUES(1); +CREATE TABLE t833 (c1 INTEGER) ; +INSERT INTO t833 VALUES(1); +CREATE TABLE t834 (c1 INTEGER) ; +INSERT INTO t834 VALUES(1); +CREATE TABLE t835 (c1 INTEGER) ; +INSERT INTO t835 VALUES(1); +CREATE TABLE t836 (c1 INTEGER) ; +INSERT INTO t836 VALUES(1); +CREATE TABLE t837 (c1 INTEGER) ; +INSERT INTO t837 VALUES(1); +CREATE TABLE t838 (c1 INTEGER) ; +INSERT INTO t838 VALUES(1); +CREATE TABLE t839 (c1 INTEGER) ; +INSERT INTO t839 VALUES(1); +CREATE TABLE t840 (c1 INTEGER) ; +INSERT INTO t840 VALUES(1); +CREATE TABLE t841 (c1 INTEGER) ; +INSERT INTO t841 VALUES(1); +CREATE TABLE t842 (c1 INTEGER) ; +INSERT INTO t842 VALUES(1); +CREATE TABLE t843 (c1 INTEGER) ; +INSERT INTO t843 VALUES(1); +CREATE TABLE t844 (c1 INTEGER) ; +INSERT INTO t844 VALUES(1); +CREATE TABLE t845 (c1 INTEGER) ; +INSERT INTO t845 VALUES(1); +CREATE TABLE t846 (c1 INTEGER) ; +INSERT INTO t846 VALUES(1); +CREATE TABLE t847 (c1 INTEGER) ; +INSERT INTO t847 VALUES(1); +CREATE TABLE t848 (c1 INTEGER) ; +INSERT INTO t848 VALUES(1); +CREATE TABLE t849 (c1 INTEGER) ; +INSERT INTO t849 VALUES(1); +CREATE TABLE t850 (c1 INTEGER) ; +INSERT INTO t850 VALUES(1); +CREATE TABLE t851 (c1 INTEGER) ; +INSERT INTO t851 VALUES(1); +CREATE TABLE t852 (c1 INTEGER) ; +INSERT INTO t852 VALUES(1); +CREATE TABLE t853 (c1 INTEGER) ; +INSERT INTO t853 VALUES(1); +CREATE TABLE t854 (c1 INTEGER) ; +INSERT INTO t854 VALUES(1); +CREATE TABLE t855 (c1 INTEGER) ; +INSERT INTO t855 VALUES(1); +CREATE TABLE t856 (c1 INTEGER) ; +INSERT INTO t856 VALUES(1); +CREATE TABLE t857 (c1 INTEGER) ; +INSERT INTO t857 VALUES(1); +CREATE TABLE t858 (c1 INTEGER) ; +INSERT INTO t858 VALUES(1); +CREATE TABLE t859 (c1 INTEGER) ; +INSERT INTO t859 VALUES(1); +CREATE TABLE t860 (c1 INTEGER) ; +INSERT INTO t860 VALUES(1); +CREATE TABLE t861 (c1 INTEGER) ; +INSERT INTO t861 VALUES(1); +CREATE TABLE t862 (c1 INTEGER) ; +INSERT INTO t862 VALUES(1); +CREATE TABLE t863 (c1 INTEGER) ; +INSERT INTO t863 VALUES(1); +CREATE TABLE t864 (c1 INTEGER) ; +INSERT INTO t864 VALUES(1); +CREATE TABLE t865 (c1 INTEGER) ; +INSERT INTO t865 VALUES(1); +CREATE TABLE t866 (c1 INTEGER) ; +INSERT INTO t866 VALUES(1); +CREATE TABLE t867 (c1 INTEGER) ; +INSERT INTO t867 VALUES(1); +CREATE TABLE t868 (c1 INTEGER) ; +INSERT INTO t868 VALUES(1); +CREATE TABLE t869 (c1 INTEGER) ; +INSERT INTO t869 VALUES(1); +CREATE TABLE t870 (c1 INTEGER) ; +INSERT INTO t870 VALUES(1); +CREATE TABLE t871 (c1 INTEGER) ; +INSERT INTO t871 VALUES(1); +CREATE TABLE t872 (c1 INTEGER) ; +INSERT INTO t872 VALUES(1); +CREATE TABLE t873 (c1 INTEGER) ; +INSERT INTO t873 VALUES(1); +CREATE TABLE t874 (c1 INTEGER) ; +INSERT INTO t874 VALUES(1); +CREATE TABLE t875 (c1 INTEGER) ; +INSERT INTO t875 VALUES(1); +CREATE TABLE t876 (c1 INTEGER) ; +INSERT INTO t876 VALUES(1); +CREATE TABLE t877 (c1 INTEGER) ; +INSERT INTO t877 VALUES(1); +CREATE TABLE t878 (c1 INTEGER) ; +INSERT INTO t878 VALUES(1); +CREATE TABLE t879 (c1 INTEGER) ; +INSERT INTO t879 VALUES(1); +CREATE TABLE t880 (c1 INTEGER) ; +INSERT INTO t880 VALUES(1); +CREATE TABLE t881 (c1 INTEGER) ; +INSERT INTO t881 VALUES(1); +CREATE TABLE t882 (c1 INTEGER) ; +INSERT INTO t882 VALUES(1); +CREATE TABLE t883 (c1 INTEGER) ; +INSERT INTO t883 VALUES(1); +CREATE TABLE t884 (c1 INTEGER) ; +INSERT INTO t884 VALUES(1); +CREATE TABLE t885 (c1 INTEGER) ; +INSERT INTO t885 VALUES(1); +CREATE TABLE t886 (c1 INTEGER) ; +INSERT INTO t886 VALUES(1); +CREATE TABLE t887 (c1 INTEGER) ; +INSERT INTO t887 VALUES(1); +CREATE TABLE t888 (c1 INTEGER) ; +INSERT INTO t888 VALUES(1); +CREATE TABLE t889 (c1 INTEGER) ; +INSERT INTO t889 VALUES(1); +CREATE TABLE t890 (c1 INTEGER) ; +INSERT INTO t890 VALUES(1); +CREATE TABLE t891 (c1 INTEGER) ; +INSERT INTO t891 VALUES(1); +CREATE TABLE t892 (c1 INTEGER) ; +INSERT INTO t892 VALUES(1); +CREATE TABLE t893 (c1 INTEGER) ; +INSERT INTO t893 VALUES(1); +CREATE TABLE t894 (c1 INTEGER) ; +INSERT INTO t894 VALUES(1); +CREATE TABLE t895 (c1 INTEGER) ; +INSERT INTO t895 VALUES(1); +CREATE TABLE t896 (c1 INTEGER) ; +INSERT INTO t896 VALUES(1); +CREATE TABLE t897 (c1 INTEGER) ; +INSERT INTO t897 VALUES(1); +CREATE TABLE t898 (c1 INTEGER) ; +INSERT INTO t898 VALUES(1); +CREATE TABLE t899 (c1 INTEGER) ; +INSERT INTO t899 VALUES(1); +CREATE TABLE t900 (c1 INTEGER) ; +INSERT INTO t900 VALUES(1); +CREATE TABLE t901 (c1 INTEGER) ; +INSERT INTO t901 VALUES(1); +CREATE TABLE t902 (c1 INTEGER) ; +INSERT INTO t902 VALUES(1); +CREATE TABLE t903 (c1 INTEGER) ; +INSERT INTO t903 VALUES(1); +CREATE TABLE t904 (c1 INTEGER) ; +INSERT INTO t904 VALUES(1); +CREATE TABLE t905 (c1 INTEGER) ; +INSERT INTO t905 VALUES(1); +CREATE TABLE t906 (c1 INTEGER) ; +INSERT INTO t906 VALUES(1); +CREATE TABLE t907 (c1 INTEGER) ; +INSERT INTO t907 VALUES(1); +CREATE TABLE t908 (c1 INTEGER) ; +INSERT INTO t908 VALUES(1); +CREATE TABLE t909 (c1 INTEGER) ; +INSERT INTO t909 VALUES(1); +CREATE TABLE t910 (c1 INTEGER) ; +INSERT INTO t910 VALUES(1); +CREATE TABLE t911 (c1 INTEGER) ; +INSERT INTO t911 VALUES(1); +CREATE TABLE t912 (c1 INTEGER) ; +INSERT INTO t912 VALUES(1); +CREATE TABLE t913 (c1 INTEGER) ; +INSERT INTO t913 VALUES(1); +CREATE TABLE t914 (c1 INTEGER) ; +INSERT INTO t914 VALUES(1); +CREATE TABLE t915 (c1 INTEGER) ; +INSERT INTO t915 VALUES(1); +CREATE TABLE t916 (c1 INTEGER) ; +INSERT INTO t916 VALUES(1); +CREATE TABLE t917 (c1 INTEGER) ; +INSERT INTO t917 VALUES(1); +CREATE TABLE t918 (c1 INTEGER) ; +INSERT INTO t918 VALUES(1); +CREATE TABLE t919 (c1 INTEGER) ; +INSERT INTO t919 VALUES(1); +CREATE TABLE t920 (c1 INTEGER) ; +INSERT INTO t920 VALUES(1); +CREATE TABLE t921 (c1 INTEGER) ; +INSERT INTO t921 VALUES(1); +CREATE TABLE t922 (c1 INTEGER) ; +INSERT INTO t922 VALUES(1); +CREATE TABLE t923 (c1 INTEGER) ; +INSERT INTO t923 VALUES(1); +CREATE TABLE t924 (c1 INTEGER) ; +INSERT INTO t924 VALUES(1); +CREATE TABLE t925 (c1 INTEGER) ; +INSERT INTO t925 VALUES(1); +CREATE TABLE t926 (c1 INTEGER) ; +INSERT INTO t926 VALUES(1); +CREATE TABLE t927 (c1 INTEGER) ; +INSERT INTO t927 VALUES(1); +CREATE TABLE t928 (c1 INTEGER) ; +INSERT INTO t928 VALUES(1); +CREATE TABLE t929 (c1 INTEGER) ; +INSERT INTO t929 VALUES(1); +CREATE TABLE t930 (c1 INTEGER) ; +INSERT INTO t930 VALUES(1); +CREATE TABLE t931 (c1 INTEGER) ; +INSERT INTO t931 VALUES(1); +CREATE TABLE t932 (c1 INTEGER) ; +INSERT INTO t932 VALUES(1); +CREATE TABLE t933 (c1 INTEGER) ; +INSERT INTO t933 VALUES(1); +CREATE TABLE t934 (c1 INTEGER) ; +INSERT INTO t934 VALUES(1); +CREATE TABLE t935 (c1 INTEGER) ; +INSERT INTO t935 VALUES(1); +CREATE TABLE t936 (c1 INTEGER) ; +INSERT INTO t936 VALUES(1); +CREATE TABLE t937 (c1 INTEGER) ; +INSERT INTO t937 VALUES(1); +CREATE TABLE t938 (c1 INTEGER) ; +INSERT INTO t938 VALUES(1); +CREATE TABLE t939 (c1 INTEGER) ; +INSERT INTO t939 VALUES(1); +CREATE TABLE t940 (c1 INTEGER) ; +INSERT INTO t940 VALUES(1); +CREATE TABLE t941 (c1 INTEGER) ; +INSERT INTO t941 VALUES(1); +CREATE TABLE t942 (c1 INTEGER) ; +INSERT INTO t942 VALUES(1); +CREATE TABLE t943 (c1 INTEGER) ; +INSERT INTO t943 VALUES(1); +CREATE TABLE t944 (c1 INTEGER) ; +INSERT INTO t944 VALUES(1); +CREATE TABLE t945 (c1 INTEGER) ; +INSERT INTO t945 VALUES(1); +CREATE TABLE t946 (c1 INTEGER) ; +INSERT INTO t946 VALUES(1); +CREATE TABLE t947 (c1 INTEGER) ; +INSERT INTO t947 VALUES(1); +CREATE TABLE t948 (c1 INTEGER) ; +INSERT INTO t948 VALUES(1); +CREATE TABLE t949 (c1 INTEGER) ; +INSERT INTO t949 VALUES(1); +CREATE TABLE t950 (c1 INTEGER) ; +INSERT INTO t950 VALUES(1); +CREATE TABLE t951 (c1 INTEGER) ; +INSERT INTO t951 VALUES(1); +CREATE TABLE t952 (c1 INTEGER) ; +INSERT INTO t952 VALUES(1); +CREATE TABLE t953 (c1 INTEGER) ; +INSERT INTO t953 VALUES(1); +CREATE TABLE t954 (c1 INTEGER) ; +INSERT INTO t954 VALUES(1); +CREATE TABLE t955 (c1 INTEGER) ; +INSERT INTO t955 VALUES(1); +CREATE TABLE t956 (c1 INTEGER) ; +INSERT INTO t956 VALUES(1); +CREATE TABLE t957 (c1 INTEGER) ; +INSERT INTO t957 VALUES(1); +CREATE TABLE t958 (c1 INTEGER) ; +INSERT INTO t958 VALUES(1); +CREATE TABLE t959 (c1 INTEGER) ; +INSERT INTO t959 VALUES(1); +CREATE TABLE t960 (c1 INTEGER) ; +INSERT INTO t960 VALUES(1); +CREATE TABLE t961 (c1 INTEGER) ; +INSERT INTO t961 VALUES(1); +CREATE TABLE t962 (c1 INTEGER) ; +INSERT INTO t962 VALUES(1); +CREATE TABLE t963 (c1 INTEGER) ; +INSERT INTO t963 VALUES(1); +CREATE TABLE t964 (c1 INTEGER) ; +INSERT INTO t964 VALUES(1); +CREATE TABLE t965 (c1 INTEGER) ; +INSERT INTO t965 VALUES(1); +CREATE TABLE t966 (c1 INTEGER) ; +INSERT INTO t966 VALUES(1); +CREATE TABLE t967 (c1 INTEGER) ; +INSERT INTO t967 VALUES(1); +CREATE TABLE t968 (c1 INTEGER) ; +INSERT INTO t968 VALUES(1); +CREATE TABLE t969 (c1 INTEGER) ; +INSERT INTO t969 VALUES(1); +CREATE TABLE t970 (c1 INTEGER) ; +INSERT INTO t970 VALUES(1); +CREATE TABLE t971 (c1 INTEGER) ; +INSERT INTO t971 VALUES(1); +CREATE TABLE t972 (c1 INTEGER) ; +INSERT INTO t972 VALUES(1); +CREATE TABLE t973 (c1 INTEGER) ; +INSERT INTO t973 VALUES(1); +CREATE TABLE t974 (c1 INTEGER) ; +INSERT INTO t974 VALUES(1); +CREATE TABLE t975 (c1 INTEGER) ; +INSERT INTO t975 VALUES(1); +CREATE TABLE t976 (c1 INTEGER) ; +INSERT INTO t976 VALUES(1); +CREATE TABLE t977 (c1 INTEGER) ; +INSERT INTO t977 VALUES(1); +CREATE TABLE t978 (c1 INTEGER) ; +INSERT INTO t978 VALUES(1); +CREATE TABLE t979 (c1 INTEGER) ; +INSERT INTO t979 VALUES(1); +CREATE TABLE t980 (c1 INTEGER) ; +INSERT INTO t980 VALUES(1); +CREATE TABLE t981 (c1 INTEGER) ; +INSERT INTO t981 VALUES(1); +CREATE TABLE t982 (c1 INTEGER) ; +INSERT INTO t982 VALUES(1); +CREATE TABLE t983 (c1 INTEGER) ; +INSERT INTO t983 VALUES(1); +CREATE TABLE t984 (c1 INTEGER) ; +INSERT INTO t984 VALUES(1); +CREATE TABLE t985 (c1 INTEGER) ; +INSERT INTO t985 VALUES(1); +CREATE TABLE t986 (c1 INTEGER) ; +INSERT INTO t986 VALUES(1); +CREATE TABLE t987 (c1 INTEGER) ; +INSERT INTO t987 VALUES(1); +CREATE TABLE t988 (c1 INTEGER) ; +INSERT INTO t988 VALUES(1); +CREATE TABLE t989 (c1 INTEGER) ; +INSERT INTO t989 VALUES(1); +CREATE TABLE t990 (c1 INTEGER) ; +INSERT INTO t990 VALUES(1); +CREATE TABLE t991 (c1 INTEGER) ; +INSERT INTO t991 VALUES(1); +CREATE TABLE t992 (c1 INTEGER) ; +INSERT INTO t992 VALUES(1); +CREATE TABLE t993 (c1 INTEGER) ; +INSERT INTO t993 VALUES(1); +CREATE TABLE t994 (c1 INTEGER) ; +INSERT INTO t994 VALUES(1); +CREATE TABLE t995 (c1 INTEGER) ; +INSERT INTO t995 VALUES(1); +CREATE TABLE t996 (c1 INTEGER) ; +INSERT INTO t996 VALUES(1); +CREATE TABLE t997 (c1 INTEGER) ; +INSERT INTO t997 VALUES(1); +CREATE TABLE t998 (c1 INTEGER) ; +INSERT INTO t998 VALUES(1); +CREATE TABLE t999 (c1 INTEGER) ; +INSERT INTO t999 VALUES(1); +CREATE TABLE t1000 (c1 INTEGER) ; +INSERT INTO t1000 VALUES(1); +DROP TABLE t1 ; +DROP TABLE t2 ; +DROP TABLE t3 ; +DROP TABLE t4 ; +DROP TABLE t5 ; +DROP TABLE t6 ; +DROP TABLE t7 ; +DROP TABLE t8 ; +DROP TABLE t9 ; +DROP TABLE t10 ; +DROP TABLE t11 ; +DROP TABLE t12 ; +DROP TABLE t13 ; +DROP TABLE t14 ; +DROP TABLE t15 ; +DROP TABLE t16 ; +DROP TABLE t17 ; +DROP TABLE t18 ; +DROP TABLE t19 ; +DROP TABLE t20 ; +DROP TABLE t21 ; +DROP TABLE t22 ; +DROP TABLE t23 ; +DROP TABLE t24 ; +DROP TABLE t25 ; +DROP TABLE t26 ; +DROP TABLE t27 ; +DROP TABLE t28 ; +DROP TABLE t29 ; +DROP TABLE t30 ; +DROP TABLE t31 ; +DROP TABLE t32 ; +DROP TABLE t33 ; +DROP TABLE t34 ; +DROP TABLE t35 ; +DROP TABLE t36 ; +DROP TABLE t37 ; +DROP TABLE t38 ; +DROP TABLE t39 ; +DROP TABLE t40 ; +DROP TABLE t41 ; +DROP TABLE t42 ; +DROP TABLE t43 ; +DROP TABLE t44 ; +DROP TABLE t45 ; +DROP TABLE t46 ; +DROP TABLE t47 ; +DROP TABLE t48 ; +DROP TABLE t49 ; +DROP TABLE t50 ; +DROP TABLE t51 ; +DROP TABLE t52 ; +DROP TABLE t53 ; +DROP TABLE t54 ; +DROP TABLE t55 ; +DROP TABLE t56 ; +DROP TABLE t57 ; +DROP TABLE t58 ; +DROP TABLE t59 ; +DROP TABLE t60 ; +DROP TABLE t61 ; +DROP TABLE t62 ; +DROP TABLE t63 ; +DROP TABLE t64 ; +DROP TABLE t65 ; +DROP TABLE t66 ; +DROP TABLE t67 ; +DROP TABLE t68 ; +DROP TABLE t69 ; +DROP TABLE t70 ; +DROP TABLE t71 ; +DROP TABLE t72 ; +DROP TABLE t73 ; +DROP TABLE t74 ; +DROP TABLE t75 ; +DROP TABLE t76 ; +DROP TABLE t77 ; +DROP TABLE t78 ; +DROP TABLE t79 ; +DROP TABLE t80 ; +DROP TABLE t81 ; +DROP TABLE t82 ; +DROP TABLE t83 ; +DROP TABLE t84 ; +DROP TABLE t85 ; +DROP TABLE t86 ; +DROP TABLE t87 ; +DROP TABLE t88 ; +DROP TABLE t89 ; +DROP TABLE t90 ; +DROP TABLE t91 ; +DROP TABLE t92 ; +DROP TABLE t93 ; +DROP TABLE t94 ; +DROP TABLE t95 ; +DROP TABLE t96 ; +DROP TABLE t97 ; +DROP TABLE t98 ; +DROP TABLE t99 ; +DROP TABLE t100 ; +DROP TABLE t101 ; +DROP TABLE t102 ; +DROP TABLE t103 ; +DROP TABLE t104 ; +DROP TABLE t105 ; +DROP TABLE t106 ; +DROP TABLE t107 ; +DROP TABLE t108 ; +DROP TABLE t109 ; +DROP TABLE t110 ; +DROP TABLE t111 ; +DROP TABLE t112 ; +DROP TABLE t113 ; +DROP TABLE t114 ; +DROP TABLE t115 ; +DROP TABLE t116 ; +DROP TABLE t117 ; +DROP TABLE t118 ; +DROP TABLE t119 ; +DROP TABLE t120 ; +DROP TABLE t121 ; +DROP TABLE t122 ; +DROP TABLE t123 ; +DROP TABLE t124 ; +DROP TABLE t125 ; +DROP TABLE t126 ; +DROP TABLE t127 ; +DROP TABLE t128 ; +DROP TABLE t129 ; +DROP TABLE t130 ; +DROP TABLE t131 ; +DROP TABLE t132 ; +DROP TABLE t133 ; +DROP TABLE t134 ; +DROP TABLE t135 ; +DROP TABLE t136 ; +DROP TABLE t137 ; +DROP TABLE t138 ; +DROP TABLE t139 ; +DROP TABLE t140 ; +DROP TABLE t141 ; +DROP TABLE t142 ; +DROP TABLE t143 ; +DROP TABLE t144 ; +DROP TABLE t145 ; +DROP TABLE t146 ; +DROP TABLE t147 ; +DROP TABLE t148 ; +DROP TABLE t149 ; +DROP TABLE t150 ; +DROP TABLE t151 ; +DROP TABLE t152 ; +DROP TABLE t153 ; +DROP TABLE t154 ; +DROP TABLE t155 ; +DROP TABLE t156 ; +DROP TABLE t157 ; +DROP TABLE t158 ; +DROP TABLE t159 ; +DROP TABLE t160 ; +DROP TABLE t161 ; +DROP TABLE t162 ; +DROP TABLE t163 ; +DROP TABLE t164 ; +DROP TABLE t165 ; +DROP TABLE t166 ; +DROP TABLE t167 ; +DROP TABLE t168 ; +DROP TABLE t169 ; +DROP TABLE t170 ; +DROP TABLE t171 ; +DROP TABLE t172 ; +DROP TABLE t173 ; +DROP TABLE t174 ; +DROP TABLE t175 ; +DROP TABLE t176 ; +DROP TABLE t177 ; +DROP TABLE t178 ; +DROP TABLE t179 ; +DROP TABLE t180 ; +DROP TABLE t181 ; +DROP TABLE t182 ; +DROP TABLE t183 ; +DROP TABLE t184 ; +DROP TABLE t185 ; +DROP TABLE t186 ; +DROP TABLE t187 ; +DROP TABLE t188 ; +DROP TABLE t189 ; +DROP TABLE t190 ; +DROP TABLE t191 ; +DROP TABLE t192 ; +DROP TABLE t193 ; +DROP TABLE t194 ; +DROP TABLE t195 ; +DROP TABLE t196 ; +DROP TABLE t197 ; +DROP TABLE t198 ; +DROP TABLE t199 ; +DROP TABLE t200 ; +DROP TABLE t201 ; +DROP TABLE t202 ; +DROP TABLE t203 ; +DROP TABLE t204 ; +DROP TABLE t205 ; +DROP TABLE t206 ; +DROP TABLE t207 ; +DROP TABLE t208 ; +DROP TABLE t209 ; +DROP TABLE t210 ; +DROP TABLE t211 ; +DROP TABLE t212 ; +DROP TABLE t213 ; +DROP TABLE t214 ; +DROP TABLE t215 ; +DROP TABLE t216 ; +DROP TABLE t217 ; +DROP TABLE t218 ; +DROP TABLE t219 ; +DROP TABLE t220 ; +DROP TABLE t221 ; +DROP TABLE t222 ; +DROP TABLE t223 ; +DROP TABLE t224 ; +DROP TABLE t225 ; +DROP TABLE t226 ; +DROP TABLE t227 ; +DROP TABLE t228 ; +DROP TABLE t229 ; +DROP TABLE t230 ; +DROP TABLE t231 ; +DROP TABLE t232 ; +DROP TABLE t233 ; +DROP TABLE t234 ; +DROP TABLE t235 ; +DROP TABLE t236 ; +DROP TABLE t237 ; +DROP TABLE t238 ; +DROP TABLE t239 ; +DROP TABLE t240 ; +DROP TABLE t241 ; +DROP TABLE t242 ; +DROP TABLE t243 ; +DROP TABLE t244 ; +DROP TABLE t245 ; +DROP TABLE t246 ; +DROP TABLE t247 ; +DROP TABLE t248 ; +DROP TABLE t249 ; +DROP TABLE t250 ; +DROP TABLE t251 ; +DROP TABLE t252 ; +DROP TABLE t253 ; +DROP TABLE t254 ; +DROP TABLE t255 ; +DROP TABLE t256 ; +DROP TABLE t257 ; +DROP TABLE t258 ; +DROP TABLE t259 ; +DROP TABLE t260 ; +DROP TABLE t261 ; +DROP TABLE t262 ; +DROP TABLE t263 ; +DROP TABLE t264 ; +DROP TABLE t265 ; +DROP TABLE t266 ; +DROP TABLE t267 ; +DROP TABLE t268 ; +DROP TABLE t269 ; +DROP TABLE t270 ; +DROP TABLE t271 ; +DROP TABLE t272 ; +DROP TABLE t273 ; +DROP TABLE t274 ; +DROP TABLE t275 ; +DROP TABLE t276 ; +DROP TABLE t277 ; +DROP TABLE t278 ; +DROP TABLE t279 ; +DROP TABLE t280 ; +DROP TABLE t281 ; +DROP TABLE t282 ; +DROP TABLE t283 ; +DROP TABLE t284 ; +DROP TABLE t285 ; +DROP TABLE t286 ; +DROP TABLE t287 ; +DROP TABLE t288 ; +DROP TABLE t289 ; +DROP TABLE t290 ; +DROP TABLE t291 ; +DROP TABLE t292 ; +DROP TABLE t293 ; +DROP TABLE t294 ; +DROP TABLE t295 ; +DROP TABLE t296 ; +DROP TABLE t297 ; +DROP TABLE t298 ; +DROP TABLE t299 ; +DROP TABLE t300 ; +DROP TABLE t301 ; +DROP TABLE t302 ; +DROP TABLE t303 ; +DROP TABLE t304 ; +DROP TABLE t305 ; +DROP TABLE t306 ; +DROP TABLE t307 ; +DROP TABLE t308 ; +DROP TABLE t309 ; +DROP TABLE t310 ; +DROP TABLE t311 ; +DROP TABLE t312 ; +DROP TABLE t313 ; +DROP TABLE t314 ; +DROP TABLE t315 ; +DROP TABLE t316 ; +DROP TABLE t317 ; +DROP TABLE t318 ; +DROP TABLE t319 ; +DROP TABLE t320 ; +DROP TABLE t321 ; +DROP TABLE t322 ; +DROP TABLE t323 ; +DROP TABLE t324 ; +DROP TABLE t325 ; +DROP TABLE t326 ; +DROP TABLE t327 ; +DROP TABLE t328 ; +DROP TABLE t329 ; +DROP TABLE t330 ; +DROP TABLE t331 ; +DROP TABLE t332 ; +DROP TABLE t333 ; +DROP TABLE t334 ; +DROP TABLE t335 ; +DROP TABLE t336 ; +DROP TABLE t337 ; +DROP TABLE t338 ; +DROP TABLE t339 ; +DROP TABLE t340 ; +DROP TABLE t341 ; +DROP TABLE t342 ; +DROP TABLE t343 ; +DROP TABLE t344 ; +DROP TABLE t345 ; +DROP TABLE t346 ; +DROP TABLE t347 ; +DROP TABLE t348 ; +DROP TABLE t349 ; +DROP TABLE t350 ; +DROP TABLE t351 ; +DROP TABLE t352 ; +DROP TABLE t353 ; +DROP TABLE t354 ; +DROP TABLE t355 ; +DROP TABLE t356 ; +DROP TABLE t357 ; +DROP TABLE t358 ; +DROP TABLE t359 ; +DROP TABLE t360 ; +DROP TABLE t361 ; +DROP TABLE t362 ; +DROP TABLE t363 ; +DROP TABLE t364 ; +DROP TABLE t365 ; +DROP TABLE t366 ; +DROP TABLE t367 ; +DROP TABLE t368 ; +DROP TABLE t369 ; +DROP TABLE t370 ; +DROP TABLE t371 ; +DROP TABLE t372 ; +DROP TABLE t373 ; +DROP TABLE t374 ; +DROP TABLE t375 ; +DROP TABLE t376 ; +DROP TABLE t377 ; +DROP TABLE t378 ; +DROP TABLE t379 ; +DROP TABLE t380 ; +DROP TABLE t381 ; +DROP TABLE t382 ; +DROP TABLE t383 ; +DROP TABLE t384 ; +DROP TABLE t385 ; +DROP TABLE t386 ; +DROP TABLE t387 ; +DROP TABLE t388 ; +DROP TABLE t389 ; +DROP TABLE t390 ; +DROP TABLE t391 ; +DROP TABLE t392 ; +DROP TABLE t393 ; +DROP TABLE t394 ; +DROP TABLE t395 ; +DROP TABLE t396 ; +DROP TABLE t397 ; +DROP TABLE t398 ; +DROP TABLE t399 ; +DROP TABLE t400 ; +DROP TABLE t401 ; +DROP TABLE t402 ; +DROP TABLE t403 ; +DROP TABLE t404 ; +DROP TABLE t405 ; +DROP TABLE t406 ; +DROP TABLE t407 ; +DROP TABLE t408 ; +DROP TABLE t409 ; +DROP TABLE t410 ; +DROP TABLE t411 ; +DROP TABLE t412 ; +DROP TABLE t413 ; +DROP TABLE t414 ; +DROP TABLE t415 ; +DROP TABLE t416 ; +DROP TABLE t417 ; +DROP TABLE t418 ; +DROP TABLE t419 ; +DROP TABLE t420 ; +DROP TABLE t421 ; +DROP TABLE t422 ; +DROP TABLE t423 ; +DROP TABLE t424 ; +DROP TABLE t425 ; +DROP TABLE t426 ; +DROP TABLE t427 ; +DROP TABLE t428 ; +DROP TABLE t429 ; +DROP TABLE t430 ; +DROP TABLE t431 ; +DROP TABLE t432 ; +DROP TABLE t433 ; +DROP TABLE t434 ; +DROP TABLE t435 ; +DROP TABLE t436 ; +DROP TABLE t437 ; +DROP TABLE t438 ; +DROP TABLE t439 ; +DROP TABLE t440 ; +DROP TABLE t441 ; +DROP TABLE t442 ; +DROP TABLE t443 ; +DROP TABLE t444 ; +DROP TABLE t445 ; +DROP TABLE t446 ; +DROP TABLE t447 ; +DROP TABLE t448 ; +DROP TABLE t449 ; +DROP TABLE t450 ; +DROP TABLE t451 ; +DROP TABLE t452 ; +DROP TABLE t453 ; +DROP TABLE t454 ; +DROP TABLE t455 ; +DROP TABLE t456 ; +DROP TABLE t457 ; +DROP TABLE t458 ; +DROP TABLE t459 ; +DROP TABLE t460 ; +DROP TABLE t461 ; +DROP TABLE t462 ; +DROP TABLE t463 ; +DROP TABLE t464 ; +DROP TABLE t465 ; +DROP TABLE t466 ; +DROP TABLE t467 ; +DROP TABLE t468 ; +DROP TABLE t469 ; +DROP TABLE t470 ; +DROP TABLE t471 ; +DROP TABLE t472 ; +DROP TABLE t473 ; +DROP TABLE t474 ; +DROP TABLE t475 ; +DROP TABLE t476 ; +DROP TABLE t477 ; +DROP TABLE t478 ; +DROP TABLE t479 ; +DROP TABLE t480 ; +DROP TABLE t481 ; +DROP TABLE t482 ; +DROP TABLE t483 ; +DROP TABLE t484 ; +DROP TABLE t485 ; +DROP TABLE t486 ; +DROP TABLE t487 ; +DROP TABLE t488 ; +DROP TABLE t489 ; +DROP TABLE t490 ; +DROP TABLE t491 ; +DROP TABLE t492 ; +DROP TABLE t493 ; +DROP TABLE t494 ; +DROP TABLE t495 ; +DROP TABLE t496 ; +DROP TABLE t497 ; +DROP TABLE t498 ; +DROP TABLE t499 ; +DROP TABLE t500 ; +DROP TABLE t501 ; +DROP TABLE t502 ; +DROP TABLE t503 ; +DROP TABLE t504 ; +DROP TABLE t505 ; +DROP TABLE t506 ; +DROP TABLE t507 ; +DROP TABLE t508 ; +DROP TABLE t509 ; +DROP TABLE t510 ; +DROP TABLE t511 ; +DROP TABLE t512 ; +DROP TABLE t513 ; +DROP TABLE t514 ; +DROP TABLE t515 ; +DROP TABLE t516 ; +DROP TABLE t517 ; +DROP TABLE t518 ; +DROP TABLE t519 ; +DROP TABLE t520 ; +DROP TABLE t521 ; +DROP TABLE t522 ; +DROP TABLE t523 ; +DROP TABLE t524 ; +DROP TABLE t525 ; +DROP TABLE t526 ; +DROP TABLE t527 ; +DROP TABLE t528 ; +DROP TABLE t529 ; +DROP TABLE t530 ; +DROP TABLE t531 ; +DROP TABLE t532 ; +DROP TABLE t533 ; +DROP TABLE t534 ; +DROP TABLE t535 ; +DROP TABLE t536 ; +DROP TABLE t537 ; +DROP TABLE t538 ; +DROP TABLE t539 ; +DROP TABLE t540 ; +DROP TABLE t541 ; +DROP TABLE t542 ; +DROP TABLE t543 ; +DROP TABLE t544 ; +DROP TABLE t545 ; +DROP TABLE t546 ; +DROP TABLE t547 ; +DROP TABLE t548 ; +DROP TABLE t549 ; +DROP TABLE t550 ; +DROP TABLE t551 ; +DROP TABLE t552 ; +DROP TABLE t553 ; +DROP TABLE t554 ; +DROP TABLE t555 ; +DROP TABLE t556 ; +DROP TABLE t557 ; +DROP TABLE t558 ; +DROP TABLE t559 ; +DROP TABLE t560 ; +DROP TABLE t561 ; +DROP TABLE t562 ; +DROP TABLE t563 ; +DROP TABLE t564 ; +DROP TABLE t565 ; +DROP TABLE t566 ; +DROP TABLE t567 ; +DROP TABLE t568 ; +DROP TABLE t569 ; +DROP TABLE t570 ; +DROP TABLE t571 ; +DROP TABLE t572 ; +DROP TABLE t573 ; +DROP TABLE t574 ; +DROP TABLE t575 ; +DROP TABLE t576 ; +DROP TABLE t577 ; +DROP TABLE t578 ; +DROP TABLE t579 ; +DROP TABLE t580 ; +DROP TABLE t581 ; +DROP TABLE t582 ; +DROP TABLE t583 ; +DROP TABLE t584 ; +DROP TABLE t585 ; +DROP TABLE t586 ; +DROP TABLE t587 ; +DROP TABLE t588 ; +DROP TABLE t589 ; +DROP TABLE t590 ; +DROP TABLE t591 ; +DROP TABLE t592 ; +DROP TABLE t593 ; +DROP TABLE t594 ; +DROP TABLE t595 ; +DROP TABLE t596 ; +DROP TABLE t597 ; +DROP TABLE t598 ; +DROP TABLE t599 ; +DROP TABLE t600 ; +DROP TABLE t601 ; +DROP TABLE t602 ; +DROP TABLE t603 ; +DROP TABLE t604 ; +DROP TABLE t605 ; +DROP TABLE t606 ; +DROP TABLE t607 ; +DROP TABLE t608 ; +DROP TABLE t609 ; +DROP TABLE t610 ; +DROP TABLE t611 ; +DROP TABLE t612 ; +DROP TABLE t613 ; +DROP TABLE t614 ; +DROP TABLE t615 ; +DROP TABLE t616 ; +DROP TABLE t617 ; +DROP TABLE t618 ; +DROP TABLE t619 ; +DROP TABLE t620 ; +DROP TABLE t621 ; +DROP TABLE t622 ; +DROP TABLE t623 ; +DROP TABLE t624 ; +DROP TABLE t625 ; +DROP TABLE t626 ; +DROP TABLE t627 ; +DROP TABLE t628 ; +DROP TABLE t629 ; +DROP TABLE t630 ; +DROP TABLE t631 ; +DROP TABLE t632 ; +DROP TABLE t633 ; +DROP TABLE t634 ; +DROP TABLE t635 ; +DROP TABLE t636 ; +DROP TABLE t637 ; +DROP TABLE t638 ; +DROP TABLE t639 ; +DROP TABLE t640 ; +DROP TABLE t641 ; +DROP TABLE t642 ; +DROP TABLE t643 ; +DROP TABLE t644 ; +DROP TABLE t645 ; +DROP TABLE t646 ; +DROP TABLE t647 ; +DROP TABLE t648 ; +DROP TABLE t649 ; +DROP TABLE t650 ; +DROP TABLE t651 ; +DROP TABLE t652 ; +DROP TABLE t653 ; +DROP TABLE t654 ; +DROP TABLE t655 ; +DROP TABLE t656 ; +DROP TABLE t657 ; +DROP TABLE t658 ; +DROP TABLE t659 ; +DROP TABLE t660 ; +DROP TABLE t661 ; +DROP TABLE t662 ; +DROP TABLE t663 ; +DROP TABLE t664 ; +DROP TABLE t665 ; +DROP TABLE t666 ; +DROP TABLE t667 ; +DROP TABLE t668 ; +DROP TABLE t669 ; +DROP TABLE t670 ; +DROP TABLE t671 ; +DROP TABLE t672 ; +DROP TABLE t673 ; +DROP TABLE t674 ; +DROP TABLE t675 ; +DROP TABLE t676 ; +DROP TABLE t677 ; +DROP TABLE t678 ; +DROP TABLE t679 ; +DROP TABLE t680 ; +DROP TABLE t681 ; +DROP TABLE t682 ; +DROP TABLE t683 ; +DROP TABLE t684 ; +DROP TABLE t685 ; +DROP TABLE t686 ; +DROP TABLE t687 ; +DROP TABLE t688 ; +DROP TABLE t689 ; +DROP TABLE t690 ; +DROP TABLE t691 ; +DROP TABLE t692 ; +DROP TABLE t693 ; +DROP TABLE t694 ; +DROP TABLE t695 ; +DROP TABLE t696 ; +DROP TABLE t697 ; +DROP TABLE t698 ; +DROP TABLE t699 ; +DROP TABLE t700 ; +DROP TABLE t701 ; +DROP TABLE t702 ; +DROP TABLE t703 ; +DROP TABLE t704 ; +DROP TABLE t705 ; +DROP TABLE t706 ; +DROP TABLE t707 ; +DROP TABLE t708 ; +DROP TABLE t709 ; +DROP TABLE t710 ; +DROP TABLE t711 ; +DROP TABLE t712 ; +DROP TABLE t713 ; +DROP TABLE t714 ; +DROP TABLE t715 ; +DROP TABLE t716 ; +DROP TABLE t717 ; +DROP TABLE t718 ; +DROP TABLE t719 ; +DROP TABLE t720 ; +DROP TABLE t721 ; +DROP TABLE t722 ; +DROP TABLE t723 ; +DROP TABLE t724 ; +DROP TABLE t725 ; +DROP TABLE t726 ; +DROP TABLE t727 ; +DROP TABLE t728 ; +DROP TABLE t729 ; +DROP TABLE t730 ; +DROP TABLE t731 ; +DROP TABLE t732 ; +DROP TABLE t733 ; +DROP TABLE t734 ; +DROP TABLE t735 ; +DROP TABLE t736 ; +DROP TABLE t737 ; +DROP TABLE t738 ; +DROP TABLE t739 ; +DROP TABLE t740 ; +DROP TABLE t741 ; +DROP TABLE t742 ; +DROP TABLE t743 ; +DROP TABLE t744 ; +DROP TABLE t745 ; +DROP TABLE t746 ; +DROP TABLE t747 ; +DROP TABLE t748 ; +DROP TABLE t749 ; +DROP TABLE t750 ; +DROP TABLE t751 ; +DROP TABLE t752 ; +DROP TABLE t753 ; +DROP TABLE t754 ; +DROP TABLE t755 ; +DROP TABLE t756 ; +DROP TABLE t757 ; +DROP TABLE t758 ; +DROP TABLE t759 ; +DROP TABLE t760 ; +DROP TABLE t761 ; +DROP TABLE t762 ; +DROP TABLE t763 ; +DROP TABLE t764 ; +DROP TABLE t765 ; +DROP TABLE t766 ; +DROP TABLE t767 ; +DROP TABLE t768 ; +DROP TABLE t769 ; +DROP TABLE t770 ; +DROP TABLE t771 ; +DROP TABLE t772 ; +DROP TABLE t773 ; +DROP TABLE t774 ; +DROP TABLE t775 ; +DROP TABLE t776 ; +DROP TABLE t777 ; +DROP TABLE t778 ; +DROP TABLE t779 ; +DROP TABLE t780 ; +DROP TABLE t781 ; +DROP TABLE t782 ; +DROP TABLE t783 ; +DROP TABLE t784 ; +DROP TABLE t785 ; +DROP TABLE t786 ; +DROP TABLE t787 ; +DROP TABLE t788 ; +DROP TABLE t789 ; +DROP TABLE t790 ; +DROP TABLE t791 ; +DROP TABLE t792 ; +DROP TABLE t793 ; +DROP TABLE t794 ; +DROP TABLE t795 ; +DROP TABLE t796 ; +DROP TABLE t797 ; +DROP TABLE t798 ; +DROP TABLE t799 ; +DROP TABLE t800 ; +DROP TABLE t801 ; +DROP TABLE t802 ; +DROP TABLE t803 ; +DROP TABLE t804 ; +DROP TABLE t805 ; +DROP TABLE t806 ; +DROP TABLE t807 ; +DROP TABLE t808 ; +DROP TABLE t809 ; +DROP TABLE t810 ; +DROP TABLE t811 ; +DROP TABLE t812 ; +DROP TABLE t813 ; +DROP TABLE t814 ; +DROP TABLE t815 ; +DROP TABLE t816 ; +DROP TABLE t817 ; +DROP TABLE t818 ; +DROP TABLE t819 ; +DROP TABLE t820 ; +DROP TABLE t821 ; +DROP TABLE t822 ; +DROP TABLE t823 ; +DROP TABLE t824 ; +DROP TABLE t825 ; +DROP TABLE t826 ; +DROP TABLE t827 ; +DROP TABLE t828 ; +DROP TABLE t829 ; +DROP TABLE t830 ; +DROP TABLE t831 ; +DROP TABLE t832 ; +DROP TABLE t833 ; +DROP TABLE t834 ; +DROP TABLE t835 ; +DROP TABLE t836 ; +DROP TABLE t837 ; +DROP TABLE t838 ; +DROP TABLE t839 ; +DROP TABLE t840 ; +DROP TABLE t841 ; +DROP TABLE t842 ; +DROP TABLE t843 ; +DROP TABLE t844 ; +DROP TABLE t845 ; +DROP TABLE t846 ; +DROP TABLE t847 ; +DROP TABLE t848 ; +DROP TABLE t849 ; +DROP TABLE t850 ; +DROP TABLE t851 ; +DROP TABLE t852 ; +DROP TABLE t853 ; +DROP TABLE t854 ; +DROP TABLE t855 ; +DROP TABLE t856 ; +DROP TABLE t857 ; +DROP TABLE t858 ; +DROP TABLE t859 ; +DROP TABLE t860 ; +DROP TABLE t861 ; +DROP TABLE t862 ; +DROP TABLE t863 ; +DROP TABLE t864 ; +DROP TABLE t865 ; +DROP TABLE t866 ; +DROP TABLE t867 ; +DROP TABLE t868 ; +DROP TABLE t869 ; +DROP TABLE t870 ; +DROP TABLE t871 ; +DROP TABLE t872 ; +DROP TABLE t873 ; +DROP TABLE t874 ; +DROP TABLE t875 ; +DROP TABLE t876 ; +DROP TABLE t877 ; +DROP TABLE t878 ; +DROP TABLE t879 ; +DROP TABLE t880 ; +DROP TABLE t881 ; +DROP TABLE t882 ; +DROP TABLE t883 ; +DROP TABLE t884 ; +DROP TABLE t885 ; +DROP TABLE t886 ; +DROP TABLE t887 ; +DROP TABLE t888 ; +DROP TABLE t889 ; +DROP TABLE t890 ; +DROP TABLE t891 ; +DROP TABLE t892 ; +DROP TABLE t893 ; +DROP TABLE t894 ; +DROP TABLE t895 ; +DROP TABLE t896 ; +DROP TABLE t897 ; +DROP TABLE t898 ; +DROP TABLE t899 ; +DROP TABLE t900 ; +DROP TABLE t901 ; +DROP TABLE t902 ; +DROP TABLE t903 ; +DROP TABLE t904 ; +DROP TABLE t905 ; +DROP TABLE t906 ; +DROP TABLE t907 ; +DROP TABLE t908 ; +DROP TABLE t909 ; +DROP TABLE t910 ; +DROP TABLE t911 ; +DROP TABLE t912 ; +DROP TABLE t913 ; +DROP TABLE t914 ; +DROP TABLE t915 ; +DROP TABLE t916 ; +DROP TABLE t917 ; +DROP TABLE t918 ; +DROP TABLE t919 ; +DROP TABLE t920 ; +DROP TABLE t921 ; +DROP TABLE t922 ; +DROP TABLE t923 ; +DROP TABLE t924 ; +DROP TABLE t925 ; +DROP TABLE t926 ; +DROP TABLE t927 ; +DROP TABLE t928 ; +DROP TABLE t929 ; +DROP TABLE t930 ; +DROP TABLE t931 ; +DROP TABLE t932 ; +DROP TABLE t933 ; +DROP TABLE t934 ; +DROP TABLE t935 ; +DROP TABLE t936 ; +DROP TABLE t937 ; +DROP TABLE t938 ; +DROP TABLE t939 ; +DROP TABLE t940 ; +DROP TABLE t941 ; +DROP TABLE t942 ; +DROP TABLE t943 ; +DROP TABLE t944 ; +DROP TABLE t945 ; +DROP TABLE t946 ; +DROP TABLE t947 ; +DROP TABLE t948 ; +DROP TABLE t949 ; +DROP TABLE t950 ; +DROP TABLE t951 ; +DROP TABLE t952 ; +DROP TABLE t953 ; +DROP TABLE t954 ; +DROP TABLE t955 ; +DROP TABLE t956 ; +DROP TABLE t957 ; +DROP TABLE t958 ; +DROP TABLE t959 ; +DROP TABLE t960 ; +DROP TABLE t961 ; +DROP TABLE t962 ; +DROP TABLE t963 ; +DROP TABLE t964 ; +DROP TABLE t965 ; +DROP TABLE t966 ; +DROP TABLE t967 ; +DROP TABLE t968 ; +DROP TABLE t969 ; +DROP TABLE t970 ; +DROP TABLE t971 ; +DROP TABLE t972 ; +DROP TABLE t973 ; +DROP TABLE t974 ; +DROP TABLE t975 ; +DROP TABLE t976 ; +DROP TABLE t977 ; +DROP TABLE t978 ; +DROP TABLE t979 ; +DROP TABLE t980 ; +DROP TABLE t981 ; +DROP TABLE t982 ; +DROP TABLE t983 ; +DROP TABLE t984 ; +DROP TABLE t985 ; +DROP TABLE t986 ; +DROP TABLE t987 ; +DROP TABLE t988 ; +DROP TABLE t989 ; +DROP TABLE t990 ; +DROP TABLE t991 ; +DROP TABLE t992 ; +DROP TABLE t993 ; +DROP TABLE t994 ; +DROP TABLE t995 ; +DROP TABLE t996 ; +DROP TABLE t997 ; +DROP TABLE t998 ; +DROP TABLE t999 ; +DROP TABLE t1000 ; diff --git a/mysql-test/suite/engines/funcs/r/crash_manytables_string.result b/mysql-test/suite/engines/funcs/r/crash_manytables_string.result new file mode 100644 index 00000000..09f11457 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/crash_manytables_string.result @@ -0,0 +1,3001 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 VARCHAR(10)) ; +INSERT INTO t1 VALUES('a'); +CREATE TABLE t2 (c1 VARCHAR(10)) ; +INSERT INTO t2 VALUES('a'); +CREATE TABLE t3 (c1 VARCHAR(10)) ; +INSERT INTO t3 VALUES('a'); +CREATE TABLE t4 (c1 VARCHAR(10)) ; +INSERT INTO t4 VALUES('a'); +CREATE TABLE t5 (c1 VARCHAR(10)) ; +INSERT INTO t5 VALUES('a'); +CREATE TABLE t6 (c1 VARCHAR(10)) ; +INSERT INTO t6 VALUES('a'); +CREATE TABLE t7 (c1 VARCHAR(10)) ; +INSERT INTO t7 VALUES('a'); +CREATE TABLE t8 (c1 VARCHAR(10)) ; +INSERT INTO t8 VALUES('a'); +CREATE TABLE t9 (c1 VARCHAR(10)) ; +INSERT INTO t9 VALUES('a'); +CREATE TABLE t10 (c1 VARCHAR(10)) ; +INSERT INTO t10 VALUES('a'); +CREATE TABLE t11 (c1 VARCHAR(10)) ; +INSERT INTO t11 VALUES('a'); +CREATE TABLE t12 (c1 VARCHAR(10)) ; +INSERT INTO t12 VALUES('a'); +CREATE TABLE t13 (c1 VARCHAR(10)) ; +INSERT INTO t13 VALUES('a'); +CREATE TABLE t14 (c1 VARCHAR(10)) ; +INSERT INTO t14 VALUES('a'); +CREATE TABLE t15 (c1 VARCHAR(10)) ; +INSERT INTO t15 VALUES('a'); +CREATE TABLE t16 (c1 VARCHAR(10)) ; +INSERT INTO t16 VALUES('a'); +CREATE TABLE t17 (c1 VARCHAR(10)) ; +INSERT INTO t17 VALUES('a'); +CREATE TABLE t18 (c1 VARCHAR(10)) ; +INSERT INTO t18 VALUES('a'); +CREATE TABLE t19 (c1 VARCHAR(10)) ; +INSERT INTO t19 VALUES('a'); +CREATE TABLE t20 (c1 VARCHAR(10)) ; +INSERT INTO t20 VALUES('a'); +CREATE TABLE t21 (c1 VARCHAR(10)) ; +INSERT INTO t21 VALUES('a'); +CREATE TABLE t22 (c1 VARCHAR(10)) ; +INSERT INTO t22 VALUES('a'); +CREATE TABLE t23 (c1 VARCHAR(10)) ; +INSERT INTO t23 VALUES('a'); +CREATE TABLE t24 (c1 VARCHAR(10)) ; +INSERT INTO t24 VALUES('a'); +CREATE TABLE t25 (c1 VARCHAR(10)) ; +INSERT INTO t25 VALUES('a'); +CREATE TABLE t26 (c1 VARCHAR(10)) ; +INSERT INTO t26 VALUES('a'); +CREATE TABLE t27 (c1 VARCHAR(10)) ; +INSERT INTO t27 VALUES('a'); +CREATE TABLE t28 (c1 VARCHAR(10)) ; +INSERT INTO t28 VALUES('a'); +CREATE TABLE t29 (c1 VARCHAR(10)) ; +INSERT INTO t29 VALUES('a'); +CREATE TABLE t30 (c1 VARCHAR(10)) ; +INSERT INTO t30 VALUES('a'); +CREATE TABLE t31 (c1 VARCHAR(10)) ; +INSERT INTO t31 VALUES('a'); +CREATE TABLE t32 (c1 VARCHAR(10)) ; +INSERT INTO t32 VALUES('a'); +CREATE TABLE t33 (c1 VARCHAR(10)) ; +INSERT INTO t33 VALUES('a'); +CREATE TABLE t34 (c1 VARCHAR(10)) ; +INSERT INTO t34 VALUES('a'); +CREATE TABLE t35 (c1 VARCHAR(10)) ; +INSERT INTO t35 VALUES('a'); +CREATE TABLE t36 (c1 VARCHAR(10)) ; +INSERT INTO t36 VALUES('a'); +CREATE TABLE t37 (c1 VARCHAR(10)) ; +INSERT INTO t37 VALUES('a'); +CREATE TABLE t38 (c1 VARCHAR(10)) ; +INSERT INTO t38 VALUES('a'); +CREATE TABLE t39 (c1 VARCHAR(10)) ; +INSERT INTO t39 VALUES('a'); +CREATE TABLE t40 (c1 VARCHAR(10)) ; +INSERT INTO t40 VALUES('a'); +CREATE TABLE t41 (c1 VARCHAR(10)) ; +INSERT INTO t41 VALUES('a'); +CREATE TABLE t42 (c1 VARCHAR(10)) ; +INSERT INTO t42 VALUES('a'); +CREATE TABLE t43 (c1 VARCHAR(10)) ; +INSERT INTO t43 VALUES('a'); +CREATE TABLE t44 (c1 VARCHAR(10)) ; +INSERT INTO t44 VALUES('a'); +CREATE TABLE t45 (c1 VARCHAR(10)) ; +INSERT INTO t45 VALUES('a'); +CREATE TABLE t46 (c1 VARCHAR(10)) ; +INSERT INTO t46 VALUES('a'); +CREATE TABLE t47 (c1 VARCHAR(10)) ; +INSERT INTO t47 VALUES('a'); +CREATE TABLE t48 (c1 VARCHAR(10)) ; +INSERT INTO t48 VALUES('a'); +CREATE TABLE t49 (c1 VARCHAR(10)) ; +INSERT INTO t49 VALUES('a'); +CREATE TABLE t50 (c1 VARCHAR(10)) ; +INSERT INTO t50 VALUES('a'); +CREATE TABLE t51 (c1 VARCHAR(10)) ; +INSERT INTO t51 VALUES('a'); +CREATE TABLE t52 (c1 VARCHAR(10)) ; +INSERT INTO t52 VALUES('a'); +CREATE TABLE t53 (c1 VARCHAR(10)) ; +INSERT INTO t53 VALUES('a'); +CREATE TABLE t54 (c1 VARCHAR(10)) ; +INSERT INTO t54 VALUES('a'); +CREATE TABLE t55 (c1 VARCHAR(10)) ; +INSERT INTO t55 VALUES('a'); +CREATE TABLE t56 (c1 VARCHAR(10)) ; +INSERT INTO t56 VALUES('a'); +CREATE TABLE t57 (c1 VARCHAR(10)) ; +INSERT INTO t57 VALUES('a'); +CREATE TABLE t58 (c1 VARCHAR(10)) ; +INSERT INTO t58 VALUES('a'); +CREATE TABLE t59 (c1 VARCHAR(10)) ; +INSERT INTO t59 VALUES('a'); +CREATE TABLE t60 (c1 VARCHAR(10)) ; +INSERT INTO t60 VALUES('a'); +CREATE TABLE t61 (c1 VARCHAR(10)) ; +INSERT INTO t61 VALUES('a'); +CREATE TABLE t62 (c1 VARCHAR(10)) ; +INSERT INTO t62 VALUES('a'); +CREATE TABLE t63 (c1 VARCHAR(10)) ; +INSERT INTO t63 VALUES('a'); +CREATE TABLE t64 (c1 VARCHAR(10)) ; +INSERT INTO t64 VALUES('a'); +CREATE TABLE t65 (c1 VARCHAR(10)) ; +INSERT INTO t65 VALUES('a'); +CREATE TABLE t66 (c1 VARCHAR(10)) ; +INSERT INTO t66 VALUES('a'); +CREATE TABLE t67 (c1 VARCHAR(10)) ; +INSERT INTO t67 VALUES('a'); +CREATE TABLE t68 (c1 VARCHAR(10)) ; +INSERT INTO t68 VALUES('a'); +CREATE TABLE t69 (c1 VARCHAR(10)) ; +INSERT INTO t69 VALUES('a'); +CREATE TABLE t70 (c1 VARCHAR(10)) ; +INSERT INTO t70 VALUES('a'); +CREATE TABLE t71 (c1 VARCHAR(10)) ; +INSERT INTO t71 VALUES('a'); +CREATE TABLE t72 (c1 VARCHAR(10)) ; +INSERT INTO t72 VALUES('a'); +CREATE TABLE t73 (c1 VARCHAR(10)) ; +INSERT INTO t73 VALUES('a'); +CREATE TABLE t74 (c1 VARCHAR(10)) ; +INSERT INTO t74 VALUES('a'); +CREATE TABLE t75 (c1 VARCHAR(10)) ; +INSERT INTO t75 VALUES('a'); +CREATE TABLE t76 (c1 VARCHAR(10)) ; +INSERT INTO t76 VALUES('a'); +CREATE TABLE t77 (c1 VARCHAR(10)) ; +INSERT INTO t77 VALUES('a'); +CREATE TABLE t78 (c1 VARCHAR(10)) ; +INSERT INTO t78 VALUES('a'); +CREATE TABLE t79 (c1 VARCHAR(10)) ; +INSERT INTO t79 VALUES('a'); +CREATE TABLE t80 (c1 VARCHAR(10)) ; +INSERT INTO t80 VALUES('a'); +CREATE TABLE t81 (c1 VARCHAR(10)) ; +INSERT INTO t81 VALUES('a'); +CREATE TABLE t82 (c1 VARCHAR(10)) ; +INSERT INTO t82 VALUES('a'); +CREATE TABLE t83 (c1 VARCHAR(10)) ; +INSERT INTO t83 VALUES('a'); +CREATE TABLE t84 (c1 VARCHAR(10)) ; +INSERT INTO t84 VALUES('a'); +CREATE TABLE t85 (c1 VARCHAR(10)) ; +INSERT INTO t85 VALUES('a'); +CREATE TABLE t86 (c1 VARCHAR(10)) ; +INSERT INTO t86 VALUES('a'); +CREATE TABLE t87 (c1 VARCHAR(10)) ; +INSERT INTO t87 VALUES('a'); +CREATE TABLE t88 (c1 VARCHAR(10)) ; +INSERT INTO t88 VALUES('a'); +CREATE TABLE t89 (c1 VARCHAR(10)) ; +INSERT INTO t89 VALUES('a'); +CREATE TABLE t90 (c1 VARCHAR(10)) ; +INSERT INTO t90 VALUES('a'); +CREATE TABLE t91 (c1 VARCHAR(10)) ; +INSERT INTO t91 VALUES('a'); +CREATE TABLE t92 (c1 VARCHAR(10)) ; +INSERT INTO t92 VALUES('a'); +CREATE TABLE t93 (c1 VARCHAR(10)) ; +INSERT INTO t93 VALUES('a'); +CREATE TABLE t94 (c1 VARCHAR(10)) ; +INSERT INTO t94 VALUES('a'); +CREATE TABLE t95 (c1 VARCHAR(10)) ; +INSERT INTO t95 VALUES('a'); +CREATE TABLE t96 (c1 VARCHAR(10)) ; +INSERT INTO t96 VALUES('a'); +CREATE TABLE t97 (c1 VARCHAR(10)) ; +INSERT INTO t97 VALUES('a'); +CREATE TABLE t98 (c1 VARCHAR(10)) ; +INSERT INTO t98 VALUES('a'); +CREATE TABLE t99 (c1 VARCHAR(10)) ; +INSERT INTO t99 VALUES('a'); +CREATE TABLE t100 (c1 VARCHAR(10)) ; +INSERT INTO t100 VALUES('a'); +CREATE TABLE t101 (c1 VARCHAR(10)) ; +INSERT INTO t101 VALUES('a'); +CREATE TABLE t102 (c1 VARCHAR(10)) ; +INSERT INTO t102 VALUES('a'); +CREATE TABLE t103 (c1 VARCHAR(10)) ; +INSERT INTO t103 VALUES('a'); +CREATE TABLE t104 (c1 VARCHAR(10)) ; +INSERT INTO t104 VALUES('a'); +CREATE TABLE t105 (c1 VARCHAR(10)) ; +INSERT INTO t105 VALUES('a'); +CREATE TABLE t106 (c1 VARCHAR(10)) ; +INSERT INTO t106 VALUES('a'); +CREATE TABLE t107 (c1 VARCHAR(10)) ; +INSERT INTO t107 VALUES('a'); +CREATE TABLE t108 (c1 VARCHAR(10)) ; +INSERT INTO t108 VALUES('a'); +CREATE TABLE t109 (c1 VARCHAR(10)) ; +INSERT INTO t109 VALUES('a'); +CREATE TABLE t110 (c1 VARCHAR(10)) ; +INSERT INTO t110 VALUES('a'); +CREATE TABLE t111 (c1 VARCHAR(10)) ; +INSERT INTO t111 VALUES('a'); +CREATE TABLE t112 (c1 VARCHAR(10)) ; +INSERT INTO t112 VALUES('a'); +CREATE TABLE t113 (c1 VARCHAR(10)) ; +INSERT INTO t113 VALUES('a'); +CREATE TABLE t114 (c1 VARCHAR(10)) ; +INSERT INTO t114 VALUES('a'); +CREATE TABLE t115 (c1 VARCHAR(10)) ; +INSERT INTO t115 VALUES('a'); +CREATE TABLE t116 (c1 VARCHAR(10)) ; +INSERT INTO t116 VALUES('a'); +CREATE TABLE t117 (c1 VARCHAR(10)) ; +INSERT INTO t117 VALUES('a'); +CREATE TABLE t118 (c1 VARCHAR(10)) ; +INSERT INTO t118 VALUES('a'); +CREATE TABLE t119 (c1 VARCHAR(10)) ; +INSERT INTO t119 VALUES('a'); +CREATE TABLE t120 (c1 VARCHAR(10)) ; +INSERT INTO t120 VALUES('a'); +CREATE TABLE t121 (c1 VARCHAR(10)) ; +INSERT INTO t121 VALUES('a'); +CREATE TABLE t122 (c1 VARCHAR(10)) ; +INSERT INTO t122 VALUES('a'); +CREATE TABLE t123 (c1 VARCHAR(10)) ; +INSERT INTO t123 VALUES('a'); +CREATE TABLE t124 (c1 VARCHAR(10)) ; +INSERT INTO t124 VALUES('a'); +CREATE TABLE t125 (c1 VARCHAR(10)) ; +INSERT INTO t125 VALUES('a'); +CREATE TABLE t126 (c1 VARCHAR(10)) ; +INSERT INTO t126 VALUES('a'); +CREATE TABLE t127 (c1 VARCHAR(10)) ; +INSERT INTO t127 VALUES('a'); +CREATE TABLE t128 (c1 VARCHAR(10)) ; +INSERT INTO t128 VALUES('a'); +CREATE TABLE t129 (c1 VARCHAR(10)) ; +INSERT INTO t129 VALUES('a'); +CREATE TABLE t130 (c1 VARCHAR(10)) ; +INSERT INTO t130 VALUES('a'); +CREATE TABLE t131 (c1 VARCHAR(10)) ; +INSERT INTO t131 VALUES('a'); +CREATE TABLE t132 (c1 VARCHAR(10)) ; +INSERT INTO t132 VALUES('a'); +CREATE TABLE t133 (c1 VARCHAR(10)) ; +INSERT INTO t133 VALUES('a'); +CREATE TABLE t134 (c1 VARCHAR(10)) ; +INSERT INTO t134 VALUES('a'); +CREATE TABLE t135 (c1 VARCHAR(10)) ; +INSERT INTO t135 VALUES('a'); +CREATE TABLE t136 (c1 VARCHAR(10)) ; +INSERT INTO t136 VALUES('a'); +CREATE TABLE t137 (c1 VARCHAR(10)) ; +INSERT INTO t137 VALUES('a'); +CREATE TABLE t138 (c1 VARCHAR(10)) ; +INSERT INTO t138 VALUES('a'); +CREATE TABLE t139 (c1 VARCHAR(10)) ; +INSERT INTO t139 VALUES('a'); +CREATE TABLE t140 (c1 VARCHAR(10)) ; +INSERT INTO t140 VALUES('a'); +CREATE TABLE t141 (c1 VARCHAR(10)) ; +INSERT INTO t141 VALUES('a'); +CREATE TABLE t142 (c1 VARCHAR(10)) ; +INSERT INTO t142 VALUES('a'); +CREATE TABLE t143 (c1 VARCHAR(10)) ; +INSERT INTO t143 VALUES('a'); +CREATE TABLE t144 (c1 VARCHAR(10)) ; +INSERT INTO t144 VALUES('a'); +CREATE TABLE t145 (c1 VARCHAR(10)) ; +INSERT INTO t145 VALUES('a'); +CREATE TABLE t146 (c1 VARCHAR(10)) ; +INSERT INTO t146 VALUES('a'); +CREATE TABLE t147 (c1 VARCHAR(10)) ; +INSERT INTO t147 VALUES('a'); +CREATE TABLE t148 (c1 VARCHAR(10)) ; +INSERT INTO t148 VALUES('a'); +CREATE TABLE t149 (c1 VARCHAR(10)) ; +INSERT INTO t149 VALUES('a'); +CREATE TABLE t150 (c1 VARCHAR(10)) ; +INSERT INTO t150 VALUES('a'); +CREATE TABLE t151 (c1 VARCHAR(10)) ; +INSERT INTO t151 VALUES('a'); +CREATE TABLE t152 (c1 VARCHAR(10)) ; +INSERT INTO t152 VALUES('a'); +CREATE TABLE t153 (c1 VARCHAR(10)) ; +INSERT INTO t153 VALUES('a'); +CREATE TABLE t154 (c1 VARCHAR(10)) ; +INSERT INTO t154 VALUES('a'); +CREATE TABLE t155 (c1 VARCHAR(10)) ; +INSERT INTO t155 VALUES('a'); +CREATE TABLE t156 (c1 VARCHAR(10)) ; +INSERT INTO t156 VALUES('a'); +CREATE TABLE t157 (c1 VARCHAR(10)) ; +INSERT INTO t157 VALUES('a'); +CREATE TABLE t158 (c1 VARCHAR(10)) ; +INSERT INTO t158 VALUES('a'); +CREATE TABLE t159 (c1 VARCHAR(10)) ; +INSERT INTO t159 VALUES('a'); +CREATE TABLE t160 (c1 VARCHAR(10)) ; +INSERT INTO t160 VALUES('a'); +CREATE TABLE t161 (c1 VARCHAR(10)) ; +INSERT INTO t161 VALUES('a'); +CREATE TABLE t162 (c1 VARCHAR(10)) ; +INSERT INTO t162 VALUES('a'); +CREATE TABLE t163 (c1 VARCHAR(10)) ; +INSERT INTO t163 VALUES('a'); +CREATE TABLE t164 (c1 VARCHAR(10)) ; +INSERT INTO t164 VALUES('a'); +CREATE TABLE t165 (c1 VARCHAR(10)) ; +INSERT INTO t165 VALUES('a'); +CREATE TABLE t166 (c1 VARCHAR(10)) ; +INSERT INTO t166 VALUES('a'); +CREATE TABLE t167 (c1 VARCHAR(10)) ; +INSERT INTO t167 VALUES('a'); +CREATE TABLE t168 (c1 VARCHAR(10)) ; +INSERT INTO t168 VALUES('a'); +CREATE TABLE t169 (c1 VARCHAR(10)) ; +INSERT INTO t169 VALUES('a'); +CREATE TABLE t170 (c1 VARCHAR(10)) ; +INSERT INTO t170 VALUES('a'); +CREATE TABLE t171 (c1 VARCHAR(10)) ; +INSERT INTO t171 VALUES('a'); +CREATE TABLE t172 (c1 VARCHAR(10)) ; +INSERT INTO t172 VALUES('a'); +CREATE TABLE t173 (c1 VARCHAR(10)) ; +INSERT INTO t173 VALUES('a'); +CREATE TABLE t174 (c1 VARCHAR(10)) ; +INSERT INTO t174 VALUES('a'); +CREATE TABLE t175 (c1 VARCHAR(10)) ; +INSERT INTO t175 VALUES('a'); +CREATE TABLE t176 (c1 VARCHAR(10)) ; +INSERT INTO t176 VALUES('a'); +CREATE TABLE t177 (c1 VARCHAR(10)) ; +INSERT INTO t177 VALUES('a'); +CREATE TABLE t178 (c1 VARCHAR(10)) ; +INSERT INTO t178 VALUES('a'); +CREATE TABLE t179 (c1 VARCHAR(10)) ; +INSERT INTO t179 VALUES('a'); +CREATE TABLE t180 (c1 VARCHAR(10)) ; +INSERT INTO t180 VALUES('a'); +CREATE TABLE t181 (c1 VARCHAR(10)) ; +INSERT INTO t181 VALUES('a'); +CREATE TABLE t182 (c1 VARCHAR(10)) ; +INSERT INTO t182 VALUES('a'); +CREATE TABLE t183 (c1 VARCHAR(10)) ; +INSERT INTO t183 VALUES('a'); +CREATE TABLE t184 (c1 VARCHAR(10)) ; +INSERT INTO t184 VALUES('a'); +CREATE TABLE t185 (c1 VARCHAR(10)) ; +INSERT INTO t185 VALUES('a'); +CREATE TABLE t186 (c1 VARCHAR(10)) ; +INSERT INTO t186 VALUES('a'); +CREATE TABLE t187 (c1 VARCHAR(10)) ; +INSERT INTO t187 VALUES('a'); +CREATE TABLE t188 (c1 VARCHAR(10)) ; +INSERT INTO t188 VALUES('a'); +CREATE TABLE t189 (c1 VARCHAR(10)) ; +INSERT INTO t189 VALUES('a'); +CREATE TABLE t190 (c1 VARCHAR(10)) ; +INSERT INTO t190 VALUES('a'); +CREATE TABLE t191 (c1 VARCHAR(10)) ; +INSERT INTO t191 VALUES('a'); +CREATE TABLE t192 (c1 VARCHAR(10)) ; +INSERT INTO t192 VALUES('a'); +CREATE TABLE t193 (c1 VARCHAR(10)) ; +INSERT INTO t193 VALUES('a'); +CREATE TABLE t194 (c1 VARCHAR(10)) ; +INSERT INTO t194 VALUES('a'); +CREATE TABLE t195 (c1 VARCHAR(10)) ; +INSERT INTO t195 VALUES('a'); +CREATE TABLE t196 (c1 VARCHAR(10)) ; +INSERT INTO t196 VALUES('a'); +CREATE TABLE t197 (c1 VARCHAR(10)) ; +INSERT INTO t197 VALUES('a'); +CREATE TABLE t198 (c1 VARCHAR(10)) ; +INSERT INTO t198 VALUES('a'); +CREATE TABLE t199 (c1 VARCHAR(10)) ; +INSERT INTO t199 VALUES('a'); +CREATE TABLE t200 (c1 VARCHAR(10)) ; +INSERT INTO t200 VALUES('a'); +CREATE TABLE t201 (c1 VARCHAR(10)) ; +INSERT INTO t201 VALUES('a'); +CREATE TABLE t202 (c1 VARCHAR(10)) ; +INSERT INTO t202 VALUES('a'); +CREATE TABLE t203 (c1 VARCHAR(10)) ; +INSERT INTO t203 VALUES('a'); +CREATE TABLE t204 (c1 VARCHAR(10)) ; +INSERT INTO t204 VALUES('a'); +CREATE TABLE t205 (c1 VARCHAR(10)) ; +INSERT INTO t205 VALUES('a'); +CREATE TABLE t206 (c1 VARCHAR(10)) ; +INSERT INTO t206 VALUES('a'); +CREATE TABLE t207 (c1 VARCHAR(10)) ; +INSERT INTO t207 VALUES('a'); +CREATE TABLE t208 (c1 VARCHAR(10)) ; +INSERT INTO t208 VALUES('a'); +CREATE TABLE t209 (c1 VARCHAR(10)) ; +INSERT INTO t209 VALUES('a'); +CREATE TABLE t210 (c1 VARCHAR(10)) ; +INSERT INTO t210 VALUES('a'); +CREATE TABLE t211 (c1 VARCHAR(10)) ; +INSERT INTO t211 VALUES('a'); +CREATE TABLE t212 (c1 VARCHAR(10)) ; +INSERT INTO t212 VALUES('a'); +CREATE TABLE t213 (c1 VARCHAR(10)) ; +INSERT INTO t213 VALUES('a'); +CREATE TABLE t214 (c1 VARCHAR(10)) ; +INSERT INTO t214 VALUES('a'); +CREATE TABLE t215 (c1 VARCHAR(10)) ; +INSERT INTO t215 VALUES('a'); +CREATE TABLE t216 (c1 VARCHAR(10)) ; +INSERT INTO t216 VALUES('a'); +CREATE TABLE t217 (c1 VARCHAR(10)) ; +INSERT INTO t217 VALUES('a'); +CREATE TABLE t218 (c1 VARCHAR(10)) ; +INSERT INTO t218 VALUES('a'); +CREATE TABLE t219 (c1 VARCHAR(10)) ; +INSERT INTO t219 VALUES('a'); +CREATE TABLE t220 (c1 VARCHAR(10)) ; +INSERT INTO t220 VALUES('a'); +CREATE TABLE t221 (c1 VARCHAR(10)) ; +INSERT INTO t221 VALUES('a'); +CREATE TABLE t222 (c1 VARCHAR(10)) ; +INSERT INTO t222 VALUES('a'); +CREATE TABLE t223 (c1 VARCHAR(10)) ; +INSERT INTO t223 VALUES('a'); +CREATE TABLE t224 (c1 VARCHAR(10)) ; +INSERT INTO t224 VALUES('a'); +CREATE TABLE t225 (c1 VARCHAR(10)) ; +INSERT INTO t225 VALUES('a'); +CREATE TABLE t226 (c1 VARCHAR(10)) ; +INSERT INTO t226 VALUES('a'); +CREATE TABLE t227 (c1 VARCHAR(10)) ; +INSERT INTO t227 VALUES('a'); +CREATE TABLE t228 (c1 VARCHAR(10)) ; +INSERT INTO t228 VALUES('a'); +CREATE TABLE t229 (c1 VARCHAR(10)) ; +INSERT INTO t229 VALUES('a'); +CREATE TABLE t230 (c1 VARCHAR(10)) ; +INSERT INTO t230 VALUES('a'); +CREATE TABLE t231 (c1 VARCHAR(10)) ; +INSERT INTO t231 VALUES('a'); +CREATE TABLE t232 (c1 VARCHAR(10)) ; +INSERT INTO t232 VALUES('a'); +CREATE TABLE t233 (c1 VARCHAR(10)) ; +INSERT INTO t233 VALUES('a'); +CREATE TABLE t234 (c1 VARCHAR(10)) ; +INSERT INTO t234 VALUES('a'); +CREATE TABLE t235 (c1 VARCHAR(10)) ; +INSERT INTO t235 VALUES('a'); +CREATE TABLE t236 (c1 VARCHAR(10)) ; +INSERT INTO t236 VALUES('a'); +CREATE TABLE t237 (c1 VARCHAR(10)) ; +INSERT INTO t237 VALUES('a'); +CREATE TABLE t238 (c1 VARCHAR(10)) ; +INSERT INTO t238 VALUES('a'); +CREATE TABLE t239 (c1 VARCHAR(10)) ; +INSERT INTO t239 VALUES('a'); +CREATE TABLE t240 (c1 VARCHAR(10)) ; +INSERT INTO t240 VALUES('a'); +CREATE TABLE t241 (c1 VARCHAR(10)) ; +INSERT INTO t241 VALUES('a'); +CREATE TABLE t242 (c1 VARCHAR(10)) ; +INSERT INTO t242 VALUES('a'); +CREATE TABLE t243 (c1 VARCHAR(10)) ; +INSERT INTO t243 VALUES('a'); +CREATE TABLE t244 (c1 VARCHAR(10)) ; +INSERT INTO t244 VALUES('a'); +CREATE TABLE t245 (c1 VARCHAR(10)) ; +INSERT INTO t245 VALUES('a'); +CREATE TABLE t246 (c1 VARCHAR(10)) ; +INSERT INTO t246 VALUES('a'); +CREATE TABLE t247 (c1 VARCHAR(10)) ; +INSERT INTO t247 VALUES('a'); +CREATE TABLE t248 (c1 VARCHAR(10)) ; +INSERT INTO t248 VALUES('a'); +CREATE TABLE t249 (c1 VARCHAR(10)) ; +INSERT INTO t249 VALUES('a'); +CREATE TABLE t250 (c1 VARCHAR(10)) ; +INSERT INTO t250 VALUES('a'); +CREATE TABLE t251 (c1 VARCHAR(10)) ; +INSERT INTO t251 VALUES('a'); +CREATE TABLE t252 (c1 VARCHAR(10)) ; +INSERT INTO t252 VALUES('a'); +CREATE TABLE t253 (c1 VARCHAR(10)) ; +INSERT INTO t253 VALUES('a'); +CREATE TABLE t254 (c1 VARCHAR(10)) ; +INSERT INTO t254 VALUES('a'); +CREATE TABLE t255 (c1 VARCHAR(10)) ; +INSERT INTO t255 VALUES('a'); +CREATE TABLE t256 (c1 VARCHAR(10)) ; +INSERT INTO t256 VALUES('a'); +CREATE TABLE t257 (c1 VARCHAR(10)) ; +INSERT INTO t257 VALUES('a'); +CREATE TABLE t258 (c1 VARCHAR(10)) ; +INSERT INTO t258 VALUES('a'); +CREATE TABLE t259 (c1 VARCHAR(10)) ; +INSERT INTO t259 VALUES('a'); +CREATE TABLE t260 (c1 VARCHAR(10)) ; +INSERT INTO t260 VALUES('a'); +CREATE TABLE t261 (c1 VARCHAR(10)) ; +INSERT INTO t261 VALUES('a'); +CREATE TABLE t262 (c1 VARCHAR(10)) ; +INSERT INTO t262 VALUES('a'); +CREATE TABLE t263 (c1 VARCHAR(10)) ; +INSERT INTO t263 VALUES('a'); +CREATE TABLE t264 (c1 VARCHAR(10)) ; +INSERT INTO t264 VALUES('a'); +CREATE TABLE t265 (c1 VARCHAR(10)) ; +INSERT INTO t265 VALUES('a'); +CREATE TABLE t266 (c1 VARCHAR(10)) ; +INSERT INTO t266 VALUES('a'); +CREATE TABLE t267 (c1 VARCHAR(10)) ; +INSERT INTO t267 VALUES('a'); +CREATE TABLE t268 (c1 VARCHAR(10)) ; +INSERT INTO t268 VALUES('a'); +CREATE TABLE t269 (c1 VARCHAR(10)) ; +INSERT INTO t269 VALUES('a'); +CREATE TABLE t270 (c1 VARCHAR(10)) ; +INSERT INTO t270 VALUES('a'); +CREATE TABLE t271 (c1 VARCHAR(10)) ; +INSERT INTO t271 VALUES('a'); +CREATE TABLE t272 (c1 VARCHAR(10)) ; +INSERT INTO t272 VALUES('a'); +CREATE TABLE t273 (c1 VARCHAR(10)) ; +INSERT INTO t273 VALUES('a'); +CREATE TABLE t274 (c1 VARCHAR(10)) ; +INSERT INTO t274 VALUES('a'); +CREATE TABLE t275 (c1 VARCHAR(10)) ; +INSERT INTO t275 VALUES('a'); +CREATE TABLE t276 (c1 VARCHAR(10)) ; +INSERT INTO t276 VALUES('a'); +CREATE TABLE t277 (c1 VARCHAR(10)) ; +INSERT INTO t277 VALUES('a'); +CREATE TABLE t278 (c1 VARCHAR(10)) ; +INSERT INTO t278 VALUES('a'); +CREATE TABLE t279 (c1 VARCHAR(10)) ; +INSERT INTO t279 VALUES('a'); +CREATE TABLE t280 (c1 VARCHAR(10)) ; +INSERT INTO t280 VALUES('a'); +CREATE TABLE t281 (c1 VARCHAR(10)) ; +INSERT INTO t281 VALUES('a'); +CREATE TABLE t282 (c1 VARCHAR(10)) ; +INSERT INTO t282 VALUES('a'); +CREATE TABLE t283 (c1 VARCHAR(10)) ; +INSERT INTO t283 VALUES('a'); +CREATE TABLE t284 (c1 VARCHAR(10)) ; +INSERT INTO t284 VALUES('a'); +CREATE TABLE t285 (c1 VARCHAR(10)) ; +INSERT INTO t285 VALUES('a'); +CREATE TABLE t286 (c1 VARCHAR(10)) ; +INSERT INTO t286 VALUES('a'); +CREATE TABLE t287 (c1 VARCHAR(10)) ; +INSERT INTO t287 VALUES('a'); +CREATE TABLE t288 (c1 VARCHAR(10)) ; +INSERT INTO t288 VALUES('a'); +CREATE TABLE t289 (c1 VARCHAR(10)) ; +INSERT INTO t289 VALUES('a'); +CREATE TABLE t290 (c1 VARCHAR(10)) ; +INSERT INTO t290 VALUES('a'); +CREATE TABLE t291 (c1 VARCHAR(10)) ; +INSERT INTO t291 VALUES('a'); +CREATE TABLE t292 (c1 VARCHAR(10)) ; +INSERT INTO t292 VALUES('a'); +CREATE TABLE t293 (c1 VARCHAR(10)) ; +INSERT INTO t293 VALUES('a'); +CREATE TABLE t294 (c1 VARCHAR(10)) ; +INSERT INTO t294 VALUES('a'); +CREATE TABLE t295 (c1 VARCHAR(10)) ; +INSERT INTO t295 VALUES('a'); +CREATE TABLE t296 (c1 VARCHAR(10)) ; +INSERT INTO t296 VALUES('a'); +CREATE TABLE t297 (c1 VARCHAR(10)) ; +INSERT INTO t297 VALUES('a'); +CREATE TABLE t298 (c1 VARCHAR(10)) ; +INSERT INTO t298 VALUES('a'); +CREATE TABLE t299 (c1 VARCHAR(10)) ; +INSERT INTO t299 VALUES('a'); +CREATE TABLE t300 (c1 VARCHAR(10)) ; +INSERT INTO t300 VALUES('a'); +CREATE TABLE t301 (c1 VARCHAR(10)) ; +INSERT INTO t301 VALUES('a'); +CREATE TABLE t302 (c1 VARCHAR(10)) ; +INSERT INTO t302 VALUES('a'); +CREATE TABLE t303 (c1 VARCHAR(10)) ; +INSERT INTO t303 VALUES('a'); +CREATE TABLE t304 (c1 VARCHAR(10)) ; +INSERT INTO t304 VALUES('a'); +CREATE TABLE t305 (c1 VARCHAR(10)) ; +INSERT INTO t305 VALUES('a'); +CREATE TABLE t306 (c1 VARCHAR(10)) ; +INSERT INTO t306 VALUES('a'); +CREATE TABLE t307 (c1 VARCHAR(10)) ; +INSERT INTO t307 VALUES('a'); +CREATE TABLE t308 (c1 VARCHAR(10)) ; +INSERT INTO t308 VALUES('a'); +CREATE TABLE t309 (c1 VARCHAR(10)) ; +INSERT INTO t309 VALUES('a'); +CREATE TABLE t310 (c1 VARCHAR(10)) ; +INSERT INTO t310 VALUES('a'); +CREATE TABLE t311 (c1 VARCHAR(10)) ; +INSERT INTO t311 VALUES('a'); +CREATE TABLE t312 (c1 VARCHAR(10)) ; +INSERT INTO t312 VALUES('a'); +CREATE TABLE t313 (c1 VARCHAR(10)) ; +INSERT INTO t313 VALUES('a'); +CREATE TABLE t314 (c1 VARCHAR(10)) ; +INSERT INTO t314 VALUES('a'); +CREATE TABLE t315 (c1 VARCHAR(10)) ; +INSERT INTO t315 VALUES('a'); +CREATE TABLE t316 (c1 VARCHAR(10)) ; +INSERT INTO t316 VALUES('a'); +CREATE TABLE t317 (c1 VARCHAR(10)) ; +INSERT INTO t317 VALUES('a'); +CREATE TABLE t318 (c1 VARCHAR(10)) ; +INSERT INTO t318 VALUES('a'); +CREATE TABLE t319 (c1 VARCHAR(10)) ; +INSERT INTO t319 VALUES('a'); +CREATE TABLE t320 (c1 VARCHAR(10)) ; +INSERT INTO t320 VALUES('a'); +CREATE TABLE t321 (c1 VARCHAR(10)) ; +INSERT INTO t321 VALUES('a'); +CREATE TABLE t322 (c1 VARCHAR(10)) ; +INSERT INTO t322 VALUES('a'); +CREATE TABLE t323 (c1 VARCHAR(10)) ; +INSERT INTO t323 VALUES('a'); +CREATE TABLE t324 (c1 VARCHAR(10)) ; +INSERT INTO t324 VALUES('a'); +CREATE TABLE t325 (c1 VARCHAR(10)) ; +INSERT INTO t325 VALUES('a'); +CREATE TABLE t326 (c1 VARCHAR(10)) ; +INSERT INTO t326 VALUES('a'); +CREATE TABLE t327 (c1 VARCHAR(10)) ; +INSERT INTO t327 VALUES('a'); +CREATE TABLE t328 (c1 VARCHAR(10)) ; +INSERT INTO t328 VALUES('a'); +CREATE TABLE t329 (c1 VARCHAR(10)) ; +INSERT INTO t329 VALUES('a'); +CREATE TABLE t330 (c1 VARCHAR(10)) ; +INSERT INTO t330 VALUES('a'); +CREATE TABLE t331 (c1 VARCHAR(10)) ; +INSERT INTO t331 VALUES('a'); +CREATE TABLE t332 (c1 VARCHAR(10)) ; +INSERT INTO t332 VALUES('a'); +CREATE TABLE t333 (c1 VARCHAR(10)) ; +INSERT INTO t333 VALUES('a'); +CREATE TABLE t334 (c1 VARCHAR(10)) ; +INSERT INTO t334 VALUES('a'); +CREATE TABLE t335 (c1 VARCHAR(10)) ; +INSERT INTO t335 VALUES('a'); +CREATE TABLE t336 (c1 VARCHAR(10)) ; +INSERT INTO t336 VALUES('a'); +CREATE TABLE t337 (c1 VARCHAR(10)) ; +INSERT INTO t337 VALUES('a'); +CREATE TABLE t338 (c1 VARCHAR(10)) ; +INSERT INTO t338 VALUES('a'); +CREATE TABLE t339 (c1 VARCHAR(10)) ; +INSERT INTO t339 VALUES('a'); +CREATE TABLE t340 (c1 VARCHAR(10)) ; +INSERT INTO t340 VALUES('a'); +CREATE TABLE t341 (c1 VARCHAR(10)) ; +INSERT INTO t341 VALUES('a'); +CREATE TABLE t342 (c1 VARCHAR(10)) ; +INSERT INTO t342 VALUES('a'); +CREATE TABLE t343 (c1 VARCHAR(10)) ; +INSERT INTO t343 VALUES('a'); +CREATE TABLE t344 (c1 VARCHAR(10)) ; +INSERT INTO t344 VALUES('a'); +CREATE TABLE t345 (c1 VARCHAR(10)) ; +INSERT INTO t345 VALUES('a'); +CREATE TABLE t346 (c1 VARCHAR(10)) ; +INSERT INTO t346 VALUES('a'); +CREATE TABLE t347 (c1 VARCHAR(10)) ; +INSERT INTO t347 VALUES('a'); +CREATE TABLE t348 (c1 VARCHAR(10)) ; +INSERT INTO t348 VALUES('a'); +CREATE TABLE t349 (c1 VARCHAR(10)) ; +INSERT INTO t349 VALUES('a'); +CREATE TABLE t350 (c1 VARCHAR(10)) ; +INSERT INTO t350 VALUES('a'); +CREATE TABLE t351 (c1 VARCHAR(10)) ; +INSERT INTO t351 VALUES('a'); +CREATE TABLE t352 (c1 VARCHAR(10)) ; +INSERT INTO t352 VALUES('a'); +CREATE TABLE t353 (c1 VARCHAR(10)) ; +INSERT INTO t353 VALUES('a'); +CREATE TABLE t354 (c1 VARCHAR(10)) ; +INSERT INTO t354 VALUES('a'); +CREATE TABLE t355 (c1 VARCHAR(10)) ; +INSERT INTO t355 VALUES('a'); +CREATE TABLE t356 (c1 VARCHAR(10)) ; +INSERT INTO t356 VALUES('a'); +CREATE TABLE t357 (c1 VARCHAR(10)) ; +INSERT INTO t357 VALUES('a'); +CREATE TABLE t358 (c1 VARCHAR(10)) ; +INSERT INTO t358 VALUES('a'); +CREATE TABLE t359 (c1 VARCHAR(10)) ; +INSERT INTO t359 VALUES('a'); +CREATE TABLE t360 (c1 VARCHAR(10)) ; +INSERT INTO t360 VALUES('a'); +CREATE TABLE t361 (c1 VARCHAR(10)) ; +INSERT INTO t361 VALUES('a'); +CREATE TABLE t362 (c1 VARCHAR(10)) ; +INSERT INTO t362 VALUES('a'); +CREATE TABLE t363 (c1 VARCHAR(10)) ; +INSERT INTO t363 VALUES('a'); +CREATE TABLE t364 (c1 VARCHAR(10)) ; +INSERT INTO t364 VALUES('a'); +CREATE TABLE t365 (c1 VARCHAR(10)) ; +INSERT INTO t365 VALUES('a'); +CREATE TABLE t366 (c1 VARCHAR(10)) ; +INSERT INTO t366 VALUES('a'); +CREATE TABLE t367 (c1 VARCHAR(10)) ; +INSERT INTO t367 VALUES('a'); +CREATE TABLE t368 (c1 VARCHAR(10)) ; +INSERT INTO t368 VALUES('a'); +CREATE TABLE t369 (c1 VARCHAR(10)) ; +INSERT INTO t369 VALUES('a'); +CREATE TABLE t370 (c1 VARCHAR(10)) ; +INSERT INTO t370 VALUES('a'); +CREATE TABLE t371 (c1 VARCHAR(10)) ; +INSERT INTO t371 VALUES('a'); +CREATE TABLE t372 (c1 VARCHAR(10)) ; +INSERT INTO t372 VALUES('a'); +CREATE TABLE t373 (c1 VARCHAR(10)) ; +INSERT INTO t373 VALUES('a'); +CREATE TABLE t374 (c1 VARCHAR(10)) ; +INSERT INTO t374 VALUES('a'); +CREATE TABLE t375 (c1 VARCHAR(10)) ; +INSERT INTO t375 VALUES('a'); +CREATE TABLE t376 (c1 VARCHAR(10)) ; +INSERT INTO t376 VALUES('a'); +CREATE TABLE t377 (c1 VARCHAR(10)) ; +INSERT INTO t377 VALUES('a'); +CREATE TABLE t378 (c1 VARCHAR(10)) ; +INSERT INTO t378 VALUES('a'); +CREATE TABLE t379 (c1 VARCHAR(10)) ; +INSERT INTO t379 VALUES('a'); +CREATE TABLE t380 (c1 VARCHAR(10)) ; +INSERT INTO t380 VALUES('a'); +CREATE TABLE t381 (c1 VARCHAR(10)) ; +INSERT INTO t381 VALUES('a'); +CREATE TABLE t382 (c1 VARCHAR(10)) ; +INSERT INTO t382 VALUES('a'); +CREATE TABLE t383 (c1 VARCHAR(10)) ; +INSERT INTO t383 VALUES('a'); +CREATE TABLE t384 (c1 VARCHAR(10)) ; +INSERT INTO t384 VALUES('a'); +CREATE TABLE t385 (c1 VARCHAR(10)) ; +INSERT INTO t385 VALUES('a'); +CREATE TABLE t386 (c1 VARCHAR(10)) ; +INSERT INTO t386 VALUES('a'); +CREATE TABLE t387 (c1 VARCHAR(10)) ; +INSERT INTO t387 VALUES('a'); +CREATE TABLE t388 (c1 VARCHAR(10)) ; +INSERT INTO t388 VALUES('a'); +CREATE TABLE t389 (c1 VARCHAR(10)) ; +INSERT INTO t389 VALUES('a'); +CREATE TABLE t390 (c1 VARCHAR(10)) ; +INSERT INTO t390 VALUES('a'); +CREATE TABLE t391 (c1 VARCHAR(10)) ; +INSERT INTO t391 VALUES('a'); +CREATE TABLE t392 (c1 VARCHAR(10)) ; +INSERT INTO t392 VALUES('a'); +CREATE TABLE t393 (c1 VARCHAR(10)) ; +INSERT INTO t393 VALUES('a'); +CREATE TABLE t394 (c1 VARCHAR(10)) ; +INSERT INTO t394 VALUES('a'); +CREATE TABLE t395 (c1 VARCHAR(10)) ; +INSERT INTO t395 VALUES('a'); +CREATE TABLE t396 (c1 VARCHAR(10)) ; +INSERT INTO t396 VALUES('a'); +CREATE TABLE t397 (c1 VARCHAR(10)) ; +INSERT INTO t397 VALUES('a'); +CREATE TABLE t398 (c1 VARCHAR(10)) ; +INSERT INTO t398 VALUES('a'); +CREATE TABLE t399 (c1 VARCHAR(10)) ; +INSERT INTO t399 VALUES('a'); +CREATE TABLE t400 (c1 VARCHAR(10)) ; +INSERT INTO t400 VALUES('a'); +CREATE TABLE t401 (c1 VARCHAR(10)) ; +INSERT INTO t401 VALUES('a'); +CREATE TABLE t402 (c1 VARCHAR(10)) ; +INSERT INTO t402 VALUES('a'); +CREATE TABLE t403 (c1 VARCHAR(10)) ; +INSERT INTO t403 VALUES('a'); +CREATE TABLE t404 (c1 VARCHAR(10)) ; +INSERT INTO t404 VALUES('a'); +CREATE TABLE t405 (c1 VARCHAR(10)) ; +INSERT INTO t405 VALUES('a'); +CREATE TABLE t406 (c1 VARCHAR(10)) ; +INSERT INTO t406 VALUES('a'); +CREATE TABLE t407 (c1 VARCHAR(10)) ; +INSERT INTO t407 VALUES('a'); +CREATE TABLE t408 (c1 VARCHAR(10)) ; +INSERT INTO t408 VALUES('a'); +CREATE TABLE t409 (c1 VARCHAR(10)) ; +INSERT INTO t409 VALUES('a'); +CREATE TABLE t410 (c1 VARCHAR(10)) ; +INSERT INTO t410 VALUES('a'); +CREATE TABLE t411 (c1 VARCHAR(10)) ; +INSERT INTO t411 VALUES('a'); +CREATE TABLE t412 (c1 VARCHAR(10)) ; +INSERT INTO t412 VALUES('a'); +CREATE TABLE t413 (c1 VARCHAR(10)) ; +INSERT INTO t413 VALUES('a'); +CREATE TABLE t414 (c1 VARCHAR(10)) ; +INSERT INTO t414 VALUES('a'); +CREATE TABLE t415 (c1 VARCHAR(10)) ; +INSERT INTO t415 VALUES('a'); +CREATE TABLE t416 (c1 VARCHAR(10)) ; +INSERT INTO t416 VALUES('a'); +CREATE TABLE t417 (c1 VARCHAR(10)) ; +INSERT INTO t417 VALUES('a'); +CREATE TABLE t418 (c1 VARCHAR(10)) ; +INSERT INTO t418 VALUES('a'); +CREATE TABLE t419 (c1 VARCHAR(10)) ; +INSERT INTO t419 VALUES('a'); +CREATE TABLE t420 (c1 VARCHAR(10)) ; +INSERT INTO t420 VALUES('a'); +CREATE TABLE t421 (c1 VARCHAR(10)) ; +INSERT INTO t421 VALUES('a'); +CREATE TABLE t422 (c1 VARCHAR(10)) ; +INSERT INTO t422 VALUES('a'); +CREATE TABLE t423 (c1 VARCHAR(10)) ; +INSERT INTO t423 VALUES('a'); +CREATE TABLE t424 (c1 VARCHAR(10)) ; +INSERT INTO t424 VALUES('a'); +CREATE TABLE t425 (c1 VARCHAR(10)) ; +INSERT INTO t425 VALUES('a'); +CREATE TABLE t426 (c1 VARCHAR(10)) ; +INSERT INTO t426 VALUES('a'); +CREATE TABLE t427 (c1 VARCHAR(10)) ; +INSERT INTO t427 VALUES('a'); +CREATE TABLE t428 (c1 VARCHAR(10)) ; +INSERT INTO t428 VALUES('a'); +CREATE TABLE t429 (c1 VARCHAR(10)) ; +INSERT INTO t429 VALUES('a'); +CREATE TABLE t430 (c1 VARCHAR(10)) ; +INSERT INTO t430 VALUES('a'); +CREATE TABLE t431 (c1 VARCHAR(10)) ; +INSERT INTO t431 VALUES('a'); +CREATE TABLE t432 (c1 VARCHAR(10)) ; +INSERT INTO t432 VALUES('a'); +CREATE TABLE t433 (c1 VARCHAR(10)) ; +INSERT INTO t433 VALUES('a'); +CREATE TABLE t434 (c1 VARCHAR(10)) ; +INSERT INTO t434 VALUES('a'); +CREATE TABLE t435 (c1 VARCHAR(10)) ; +INSERT INTO t435 VALUES('a'); +CREATE TABLE t436 (c1 VARCHAR(10)) ; +INSERT INTO t436 VALUES('a'); +CREATE TABLE t437 (c1 VARCHAR(10)) ; +INSERT INTO t437 VALUES('a'); +CREATE TABLE t438 (c1 VARCHAR(10)) ; +INSERT INTO t438 VALUES('a'); +CREATE TABLE t439 (c1 VARCHAR(10)) ; +INSERT INTO t439 VALUES('a'); +CREATE TABLE t440 (c1 VARCHAR(10)) ; +INSERT INTO t440 VALUES('a'); +CREATE TABLE t441 (c1 VARCHAR(10)) ; +INSERT INTO t441 VALUES('a'); +CREATE TABLE t442 (c1 VARCHAR(10)) ; +INSERT INTO t442 VALUES('a'); +CREATE TABLE t443 (c1 VARCHAR(10)) ; +INSERT INTO t443 VALUES('a'); +CREATE TABLE t444 (c1 VARCHAR(10)) ; +INSERT INTO t444 VALUES('a'); +CREATE TABLE t445 (c1 VARCHAR(10)) ; +INSERT INTO t445 VALUES('a'); +CREATE TABLE t446 (c1 VARCHAR(10)) ; +INSERT INTO t446 VALUES('a'); +CREATE TABLE t447 (c1 VARCHAR(10)) ; +INSERT INTO t447 VALUES('a'); +CREATE TABLE t448 (c1 VARCHAR(10)) ; +INSERT INTO t448 VALUES('a'); +CREATE TABLE t449 (c1 VARCHAR(10)) ; +INSERT INTO t449 VALUES('a'); +CREATE TABLE t450 (c1 VARCHAR(10)) ; +INSERT INTO t450 VALUES('a'); +CREATE TABLE t451 (c1 VARCHAR(10)) ; +INSERT INTO t451 VALUES('a'); +CREATE TABLE t452 (c1 VARCHAR(10)) ; +INSERT INTO t452 VALUES('a'); +CREATE TABLE t453 (c1 VARCHAR(10)) ; +INSERT INTO t453 VALUES('a'); +CREATE TABLE t454 (c1 VARCHAR(10)) ; +INSERT INTO t454 VALUES('a'); +CREATE TABLE t455 (c1 VARCHAR(10)) ; +INSERT INTO t455 VALUES('a'); +CREATE TABLE t456 (c1 VARCHAR(10)) ; +INSERT INTO t456 VALUES('a'); +CREATE TABLE t457 (c1 VARCHAR(10)) ; +INSERT INTO t457 VALUES('a'); +CREATE TABLE t458 (c1 VARCHAR(10)) ; +INSERT INTO t458 VALUES('a'); +CREATE TABLE t459 (c1 VARCHAR(10)) ; +INSERT INTO t459 VALUES('a'); +CREATE TABLE t460 (c1 VARCHAR(10)) ; +INSERT INTO t460 VALUES('a'); +CREATE TABLE t461 (c1 VARCHAR(10)) ; +INSERT INTO t461 VALUES('a'); +CREATE TABLE t462 (c1 VARCHAR(10)) ; +INSERT INTO t462 VALUES('a'); +CREATE TABLE t463 (c1 VARCHAR(10)) ; +INSERT INTO t463 VALUES('a'); +CREATE TABLE t464 (c1 VARCHAR(10)) ; +INSERT INTO t464 VALUES('a'); +CREATE TABLE t465 (c1 VARCHAR(10)) ; +INSERT INTO t465 VALUES('a'); +CREATE TABLE t466 (c1 VARCHAR(10)) ; +INSERT INTO t466 VALUES('a'); +CREATE TABLE t467 (c1 VARCHAR(10)) ; +INSERT INTO t467 VALUES('a'); +CREATE TABLE t468 (c1 VARCHAR(10)) ; +INSERT INTO t468 VALUES('a'); +CREATE TABLE t469 (c1 VARCHAR(10)) ; +INSERT INTO t469 VALUES('a'); +CREATE TABLE t470 (c1 VARCHAR(10)) ; +INSERT INTO t470 VALUES('a'); +CREATE TABLE t471 (c1 VARCHAR(10)) ; +INSERT INTO t471 VALUES('a'); +CREATE TABLE t472 (c1 VARCHAR(10)) ; +INSERT INTO t472 VALUES('a'); +CREATE TABLE t473 (c1 VARCHAR(10)) ; +INSERT INTO t473 VALUES('a'); +CREATE TABLE t474 (c1 VARCHAR(10)) ; +INSERT INTO t474 VALUES('a'); +CREATE TABLE t475 (c1 VARCHAR(10)) ; +INSERT INTO t475 VALUES('a'); +CREATE TABLE t476 (c1 VARCHAR(10)) ; +INSERT INTO t476 VALUES('a'); +CREATE TABLE t477 (c1 VARCHAR(10)) ; +INSERT INTO t477 VALUES('a'); +CREATE TABLE t478 (c1 VARCHAR(10)) ; +INSERT INTO t478 VALUES('a'); +CREATE TABLE t479 (c1 VARCHAR(10)) ; +INSERT INTO t479 VALUES('a'); +CREATE TABLE t480 (c1 VARCHAR(10)) ; +INSERT INTO t480 VALUES('a'); +CREATE TABLE t481 (c1 VARCHAR(10)) ; +INSERT INTO t481 VALUES('a'); +CREATE TABLE t482 (c1 VARCHAR(10)) ; +INSERT INTO t482 VALUES('a'); +CREATE TABLE t483 (c1 VARCHAR(10)) ; +INSERT INTO t483 VALUES('a'); +CREATE TABLE t484 (c1 VARCHAR(10)) ; +INSERT INTO t484 VALUES('a'); +CREATE TABLE t485 (c1 VARCHAR(10)) ; +INSERT INTO t485 VALUES('a'); +CREATE TABLE t486 (c1 VARCHAR(10)) ; +INSERT INTO t486 VALUES('a'); +CREATE TABLE t487 (c1 VARCHAR(10)) ; +INSERT INTO t487 VALUES('a'); +CREATE TABLE t488 (c1 VARCHAR(10)) ; +INSERT INTO t488 VALUES('a'); +CREATE TABLE t489 (c1 VARCHAR(10)) ; +INSERT INTO t489 VALUES('a'); +CREATE TABLE t490 (c1 VARCHAR(10)) ; +INSERT INTO t490 VALUES('a'); +CREATE TABLE t491 (c1 VARCHAR(10)) ; +INSERT INTO t491 VALUES('a'); +CREATE TABLE t492 (c1 VARCHAR(10)) ; +INSERT INTO t492 VALUES('a'); +CREATE TABLE t493 (c1 VARCHAR(10)) ; +INSERT INTO t493 VALUES('a'); +CREATE TABLE t494 (c1 VARCHAR(10)) ; +INSERT INTO t494 VALUES('a'); +CREATE TABLE t495 (c1 VARCHAR(10)) ; +INSERT INTO t495 VALUES('a'); +CREATE TABLE t496 (c1 VARCHAR(10)) ; +INSERT INTO t496 VALUES('a'); +CREATE TABLE t497 (c1 VARCHAR(10)) ; +INSERT INTO t497 VALUES('a'); +CREATE TABLE t498 (c1 VARCHAR(10)) ; +INSERT INTO t498 VALUES('a'); +CREATE TABLE t499 (c1 VARCHAR(10)) ; +INSERT INTO t499 VALUES('a'); +CREATE TABLE t500 (c1 VARCHAR(10)) ; +INSERT INTO t500 VALUES('a'); +CREATE TABLE t501 (c1 VARCHAR(10)) ; +INSERT INTO t501 VALUES('a'); +CREATE TABLE t502 (c1 VARCHAR(10)) ; +INSERT INTO t502 VALUES('a'); +CREATE TABLE t503 (c1 VARCHAR(10)) ; +INSERT INTO t503 VALUES('a'); +CREATE TABLE t504 (c1 VARCHAR(10)) ; +INSERT INTO t504 VALUES('a'); +CREATE TABLE t505 (c1 VARCHAR(10)) ; +INSERT INTO t505 VALUES('a'); +CREATE TABLE t506 (c1 VARCHAR(10)) ; +INSERT INTO t506 VALUES('a'); +CREATE TABLE t507 (c1 VARCHAR(10)) ; +INSERT INTO t507 VALUES('a'); +CREATE TABLE t508 (c1 VARCHAR(10)) ; +INSERT INTO t508 VALUES('a'); +CREATE TABLE t509 (c1 VARCHAR(10)) ; +INSERT INTO t509 VALUES('a'); +CREATE TABLE t510 (c1 VARCHAR(10)) ; +INSERT INTO t510 VALUES('a'); +CREATE TABLE t511 (c1 VARCHAR(10)) ; +INSERT INTO t511 VALUES('a'); +CREATE TABLE t512 (c1 VARCHAR(10)) ; +INSERT INTO t512 VALUES('a'); +CREATE TABLE t513 (c1 VARCHAR(10)) ; +INSERT INTO t513 VALUES('a'); +CREATE TABLE t514 (c1 VARCHAR(10)) ; +INSERT INTO t514 VALUES('a'); +CREATE TABLE t515 (c1 VARCHAR(10)) ; +INSERT INTO t515 VALUES('a'); +CREATE TABLE t516 (c1 VARCHAR(10)) ; +INSERT INTO t516 VALUES('a'); +CREATE TABLE t517 (c1 VARCHAR(10)) ; +INSERT INTO t517 VALUES('a'); +CREATE TABLE t518 (c1 VARCHAR(10)) ; +INSERT INTO t518 VALUES('a'); +CREATE TABLE t519 (c1 VARCHAR(10)) ; +INSERT INTO t519 VALUES('a'); +CREATE TABLE t520 (c1 VARCHAR(10)) ; +INSERT INTO t520 VALUES('a'); +CREATE TABLE t521 (c1 VARCHAR(10)) ; +INSERT INTO t521 VALUES('a'); +CREATE TABLE t522 (c1 VARCHAR(10)) ; +INSERT INTO t522 VALUES('a'); +CREATE TABLE t523 (c1 VARCHAR(10)) ; +INSERT INTO t523 VALUES('a'); +CREATE TABLE t524 (c1 VARCHAR(10)) ; +INSERT INTO t524 VALUES('a'); +CREATE TABLE t525 (c1 VARCHAR(10)) ; +INSERT INTO t525 VALUES('a'); +CREATE TABLE t526 (c1 VARCHAR(10)) ; +INSERT INTO t526 VALUES('a'); +CREATE TABLE t527 (c1 VARCHAR(10)) ; +INSERT INTO t527 VALUES('a'); +CREATE TABLE t528 (c1 VARCHAR(10)) ; +INSERT INTO t528 VALUES('a'); +CREATE TABLE t529 (c1 VARCHAR(10)) ; +INSERT INTO t529 VALUES('a'); +CREATE TABLE t530 (c1 VARCHAR(10)) ; +INSERT INTO t530 VALUES('a'); +CREATE TABLE t531 (c1 VARCHAR(10)) ; +INSERT INTO t531 VALUES('a'); +CREATE TABLE t532 (c1 VARCHAR(10)) ; +INSERT INTO t532 VALUES('a'); +CREATE TABLE t533 (c1 VARCHAR(10)) ; +INSERT INTO t533 VALUES('a'); +CREATE TABLE t534 (c1 VARCHAR(10)) ; +INSERT INTO t534 VALUES('a'); +CREATE TABLE t535 (c1 VARCHAR(10)) ; +INSERT INTO t535 VALUES('a'); +CREATE TABLE t536 (c1 VARCHAR(10)) ; +INSERT INTO t536 VALUES('a'); +CREATE TABLE t537 (c1 VARCHAR(10)) ; +INSERT INTO t537 VALUES('a'); +CREATE TABLE t538 (c1 VARCHAR(10)) ; +INSERT INTO t538 VALUES('a'); +CREATE TABLE t539 (c1 VARCHAR(10)) ; +INSERT INTO t539 VALUES('a'); +CREATE TABLE t540 (c1 VARCHAR(10)) ; +INSERT INTO t540 VALUES('a'); +CREATE TABLE t541 (c1 VARCHAR(10)) ; +INSERT INTO t541 VALUES('a'); +CREATE TABLE t542 (c1 VARCHAR(10)) ; +INSERT INTO t542 VALUES('a'); +CREATE TABLE t543 (c1 VARCHAR(10)) ; +INSERT INTO t543 VALUES('a'); +CREATE TABLE t544 (c1 VARCHAR(10)) ; +INSERT INTO t544 VALUES('a'); +CREATE TABLE t545 (c1 VARCHAR(10)) ; +INSERT INTO t545 VALUES('a'); +CREATE TABLE t546 (c1 VARCHAR(10)) ; +INSERT INTO t546 VALUES('a'); +CREATE TABLE t547 (c1 VARCHAR(10)) ; +INSERT INTO t547 VALUES('a'); +CREATE TABLE t548 (c1 VARCHAR(10)) ; +INSERT INTO t548 VALUES('a'); +CREATE TABLE t549 (c1 VARCHAR(10)) ; +INSERT INTO t549 VALUES('a'); +CREATE TABLE t550 (c1 VARCHAR(10)) ; +INSERT INTO t550 VALUES('a'); +CREATE TABLE t551 (c1 VARCHAR(10)) ; +INSERT INTO t551 VALUES('a'); +CREATE TABLE t552 (c1 VARCHAR(10)) ; +INSERT INTO t552 VALUES('a'); +CREATE TABLE t553 (c1 VARCHAR(10)) ; +INSERT INTO t553 VALUES('a'); +CREATE TABLE t554 (c1 VARCHAR(10)) ; +INSERT INTO t554 VALUES('a'); +CREATE TABLE t555 (c1 VARCHAR(10)) ; +INSERT INTO t555 VALUES('a'); +CREATE TABLE t556 (c1 VARCHAR(10)) ; +INSERT INTO t556 VALUES('a'); +CREATE TABLE t557 (c1 VARCHAR(10)) ; +INSERT INTO t557 VALUES('a'); +CREATE TABLE t558 (c1 VARCHAR(10)) ; +INSERT INTO t558 VALUES('a'); +CREATE TABLE t559 (c1 VARCHAR(10)) ; +INSERT INTO t559 VALUES('a'); +CREATE TABLE t560 (c1 VARCHAR(10)) ; +INSERT INTO t560 VALUES('a'); +CREATE TABLE t561 (c1 VARCHAR(10)) ; +INSERT INTO t561 VALUES('a'); +CREATE TABLE t562 (c1 VARCHAR(10)) ; +INSERT INTO t562 VALUES('a'); +CREATE TABLE t563 (c1 VARCHAR(10)) ; +INSERT INTO t563 VALUES('a'); +CREATE TABLE t564 (c1 VARCHAR(10)) ; +INSERT INTO t564 VALUES('a'); +CREATE TABLE t565 (c1 VARCHAR(10)) ; +INSERT INTO t565 VALUES('a'); +CREATE TABLE t566 (c1 VARCHAR(10)) ; +INSERT INTO t566 VALUES('a'); +CREATE TABLE t567 (c1 VARCHAR(10)) ; +INSERT INTO t567 VALUES('a'); +CREATE TABLE t568 (c1 VARCHAR(10)) ; +INSERT INTO t568 VALUES('a'); +CREATE TABLE t569 (c1 VARCHAR(10)) ; +INSERT INTO t569 VALUES('a'); +CREATE TABLE t570 (c1 VARCHAR(10)) ; +INSERT INTO t570 VALUES('a'); +CREATE TABLE t571 (c1 VARCHAR(10)) ; +INSERT INTO t571 VALUES('a'); +CREATE TABLE t572 (c1 VARCHAR(10)) ; +INSERT INTO t572 VALUES('a'); +CREATE TABLE t573 (c1 VARCHAR(10)) ; +INSERT INTO t573 VALUES('a'); +CREATE TABLE t574 (c1 VARCHAR(10)) ; +INSERT INTO t574 VALUES('a'); +CREATE TABLE t575 (c1 VARCHAR(10)) ; +INSERT INTO t575 VALUES('a'); +CREATE TABLE t576 (c1 VARCHAR(10)) ; +INSERT INTO t576 VALUES('a'); +CREATE TABLE t577 (c1 VARCHAR(10)) ; +INSERT INTO t577 VALUES('a'); +CREATE TABLE t578 (c1 VARCHAR(10)) ; +INSERT INTO t578 VALUES('a'); +CREATE TABLE t579 (c1 VARCHAR(10)) ; +INSERT INTO t579 VALUES('a'); +CREATE TABLE t580 (c1 VARCHAR(10)) ; +INSERT INTO t580 VALUES('a'); +CREATE TABLE t581 (c1 VARCHAR(10)) ; +INSERT INTO t581 VALUES('a'); +CREATE TABLE t582 (c1 VARCHAR(10)) ; +INSERT INTO t582 VALUES('a'); +CREATE TABLE t583 (c1 VARCHAR(10)) ; +INSERT INTO t583 VALUES('a'); +CREATE TABLE t584 (c1 VARCHAR(10)) ; +INSERT INTO t584 VALUES('a'); +CREATE TABLE t585 (c1 VARCHAR(10)) ; +INSERT INTO t585 VALUES('a'); +CREATE TABLE t586 (c1 VARCHAR(10)) ; +INSERT INTO t586 VALUES('a'); +CREATE TABLE t587 (c1 VARCHAR(10)) ; +INSERT INTO t587 VALUES('a'); +CREATE TABLE t588 (c1 VARCHAR(10)) ; +INSERT INTO t588 VALUES('a'); +CREATE TABLE t589 (c1 VARCHAR(10)) ; +INSERT INTO t589 VALUES('a'); +CREATE TABLE t590 (c1 VARCHAR(10)) ; +INSERT INTO t590 VALUES('a'); +CREATE TABLE t591 (c1 VARCHAR(10)) ; +INSERT INTO t591 VALUES('a'); +CREATE TABLE t592 (c1 VARCHAR(10)) ; +INSERT INTO t592 VALUES('a'); +CREATE TABLE t593 (c1 VARCHAR(10)) ; +INSERT INTO t593 VALUES('a'); +CREATE TABLE t594 (c1 VARCHAR(10)) ; +INSERT INTO t594 VALUES('a'); +CREATE TABLE t595 (c1 VARCHAR(10)) ; +INSERT INTO t595 VALUES('a'); +CREATE TABLE t596 (c1 VARCHAR(10)) ; +INSERT INTO t596 VALUES('a'); +CREATE TABLE t597 (c1 VARCHAR(10)) ; +INSERT INTO t597 VALUES('a'); +CREATE TABLE t598 (c1 VARCHAR(10)) ; +INSERT INTO t598 VALUES('a'); +CREATE TABLE t599 (c1 VARCHAR(10)) ; +INSERT INTO t599 VALUES('a'); +CREATE TABLE t600 (c1 VARCHAR(10)) ; +INSERT INTO t600 VALUES('a'); +CREATE TABLE t601 (c1 VARCHAR(10)) ; +INSERT INTO t601 VALUES('a'); +CREATE TABLE t602 (c1 VARCHAR(10)) ; +INSERT INTO t602 VALUES('a'); +CREATE TABLE t603 (c1 VARCHAR(10)) ; +INSERT INTO t603 VALUES('a'); +CREATE TABLE t604 (c1 VARCHAR(10)) ; +INSERT INTO t604 VALUES('a'); +CREATE TABLE t605 (c1 VARCHAR(10)) ; +INSERT INTO t605 VALUES('a'); +CREATE TABLE t606 (c1 VARCHAR(10)) ; +INSERT INTO t606 VALUES('a'); +CREATE TABLE t607 (c1 VARCHAR(10)) ; +INSERT INTO t607 VALUES('a'); +CREATE TABLE t608 (c1 VARCHAR(10)) ; +INSERT INTO t608 VALUES('a'); +CREATE TABLE t609 (c1 VARCHAR(10)) ; +INSERT INTO t609 VALUES('a'); +CREATE TABLE t610 (c1 VARCHAR(10)) ; +INSERT INTO t610 VALUES('a'); +CREATE TABLE t611 (c1 VARCHAR(10)) ; +INSERT INTO t611 VALUES('a'); +CREATE TABLE t612 (c1 VARCHAR(10)) ; +INSERT INTO t612 VALUES('a'); +CREATE TABLE t613 (c1 VARCHAR(10)) ; +INSERT INTO t613 VALUES('a'); +CREATE TABLE t614 (c1 VARCHAR(10)) ; +INSERT INTO t614 VALUES('a'); +CREATE TABLE t615 (c1 VARCHAR(10)) ; +INSERT INTO t615 VALUES('a'); +CREATE TABLE t616 (c1 VARCHAR(10)) ; +INSERT INTO t616 VALUES('a'); +CREATE TABLE t617 (c1 VARCHAR(10)) ; +INSERT INTO t617 VALUES('a'); +CREATE TABLE t618 (c1 VARCHAR(10)) ; +INSERT INTO t618 VALUES('a'); +CREATE TABLE t619 (c1 VARCHAR(10)) ; +INSERT INTO t619 VALUES('a'); +CREATE TABLE t620 (c1 VARCHAR(10)) ; +INSERT INTO t620 VALUES('a'); +CREATE TABLE t621 (c1 VARCHAR(10)) ; +INSERT INTO t621 VALUES('a'); +CREATE TABLE t622 (c1 VARCHAR(10)) ; +INSERT INTO t622 VALUES('a'); +CREATE TABLE t623 (c1 VARCHAR(10)) ; +INSERT INTO t623 VALUES('a'); +CREATE TABLE t624 (c1 VARCHAR(10)) ; +INSERT INTO t624 VALUES('a'); +CREATE TABLE t625 (c1 VARCHAR(10)) ; +INSERT INTO t625 VALUES('a'); +CREATE TABLE t626 (c1 VARCHAR(10)) ; +INSERT INTO t626 VALUES('a'); +CREATE TABLE t627 (c1 VARCHAR(10)) ; +INSERT INTO t627 VALUES('a'); +CREATE TABLE t628 (c1 VARCHAR(10)) ; +INSERT INTO t628 VALUES('a'); +CREATE TABLE t629 (c1 VARCHAR(10)) ; +INSERT INTO t629 VALUES('a'); +CREATE TABLE t630 (c1 VARCHAR(10)) ; +INSERT INTO t630 VALUES('a'); +CREATE TABLE t631 (c1 VARCHAR(10)) ; +INSERT INTO t631 VALUES('a'); +CREATE TABLE t632 (c1 VARCHAR(10)) ; +INSERT INTO t632 VALUES('a'); +CREATE TABLE t633 (c1 VARCHAR(10)) ; +INSERT INTO t633 VALUES('a'); +CREATE TABLE t634 (c1 VARCHAR(10)) ; +INSERT INTO t634 VALUES('a'); +CREATE TABLE t635 (c1 VARCHAR(10)) ; +INSERT INTO t635 VALUES('a'); +CREATE TABLE t636 (c1 VARCHAR(10)) ; +INSERT INTO t636 VALUES('a'); +CREATE TABLE t637 (c1 VARCHAR(10)) ; +INSERT INTO t637 VALUES('a'); +CREATE TABLE t638 (c1 VARCHAR(10)) ; +INSERT INTO t638 VALUES('a'); +CREATE TABLE t639 (c1 VARCHAR(10)) ; +INSERT INTO t639 VALUES('a'); +CREATE TABLE t640 (c1 VARCHAR(10)) ; +INSERT INTO t640 VALUES('a'); +CREATE TABLE t641 (c1 VARCHAR(10)) ; +INSERT INTO t641 VALUES('a'); +CREATE TABLE t642 (c1 VARCHAR(10)) ; +INSERT INTO t642 VALUES('a'); +CREATE TABLE t643 (c1 VARCHAR(10)) ; +INSERT INTO t643 VALUES('a'); +CREATE TABLE t644 (c1 VARCHAR(10)) ; +INSERT INTO t644 VALUES('a'); +CREATE TABLE t645 (c1 VARCHAR(10)) ; +INSERT INTO t645 VALUES('a'); +CREATE TABLE t646 (c1 VARCHAR(10)) ; +INSERT INTO t646 VALUES('a'); +CREATE TABLE t647 (c1 VARCHAR(10)) ; +INSERT INTO t647 VALUES('a'); +CREATE TABLE t648 (c1 VARCHAR(10)) ; +INSERT INTO t648 VALUES('a'); +CREATE TABLE t649 (c1 VARCHAR(10)) ; +INSERT INTO t649 VALUES('a'); +CREATE TABLE t650 (c1 VARCHAR(10)) ; +INSERT INTO t650 VALUES('a'); +CREATE TABLE t651 (c1 VARCHAR(10)) ; +INSERT INTO t651 VALUES('a'); +CREATE TABLE t652 (c1 VARCHAR(10)) ; +INSERT INTO t652 VALUES('a'); +CREATE TABLE t653 (c1 VARCHAR(10)) ; +INSERT INTO t653 VALUES('a'); +CREATE TABLE t654 (c1 VARCHAR(10)) ; +INSERT INTO t654 VALUES('a'); +CREATE TABLE t655 (c1 VARCHAR(10)) ; +INSERT INTO t655 VALUES('a'); +CREATE TABLE t656 (c1 VARCHAR(10)) ; +INSERT INTO t656 VALUES('a'); +CREATE TABLE t657 (c1 VARCHAR(10)) ; +INSERT INTO t657 VALUES('a'); +CREATE TABLE t658 (c1 VARCHAR(10)) ; +INSERT INTO t658 VALUES('a'); +CREATE TABLE t659 (c1 VARCHAR(10)) ; +INSERT INTO t659 VALUES('a'); +CREATE TABLE t660 (c1 VARCHAR(10)) ; +INSERT INTO t660 VALUES('a'); +CREATE TABLE t661 (c1 VARCHAR(10)) ; +INSERT INTO t661 VALUES('a'); +CREATE TABLE t662 (c1 VARCHAR(10)) ; +INSERT INTO t662 VALUES('a'); +CREATE TABLE t663 (c1 VARCHAR(10)) ; +INSERT INTO t663 VALUES('a'); +CREATE TABLE t664 (c1 VARCHAR(10)) ; +INSERT INTO t664 VALUES('a'); +CREATE TABLE t665 (c1 VARCHAR(10)) ; +INSERT INTO t665 VALUES('a'); +CREATE TABLE t666 (c1 VARCHAR(10)) ; +INSERT INTO t666 VALUES('a'); +CREATE TABLE t667 (c1 VARCHAR(10)) ; +INSERT INTO t667 VALUES('a'); +CREATE TABLE t668 (c1 VARCHAR(10)) ; +INSERT INTO t668 VALUES('a'); +CREATE TABLE t669 (c1 VARCHAR(10)) ; +INSERT INTO t669 VALUES('a'); +CREATE TABLE t670 (c1 VARCHAR(10)) ; +INSERT INTO t670 VALUES('a'); +CREATE TABLE t671 (c1 VARCHAR(10)) ; +INSERT INTO t671 VALUES('a'); +CREATE TABLE t672 (c1 VARCHAR(10)) ; +INSERT INTO t672 VALUES('a'); +CREATE TABLE t673 (c1 VARCHAR(10)) ; +INSERT INTO t673 VALUES('a'); +CREATE TABLE t674 (c1 VARCHAR(10)) ; +INSERT INTO t674 VALUES('a'); +CREATE TABLE t675 (c1 VARCHAR(10)) ; +INSERT INTO t675 VALUES('a'); +CREATE TABLE t676 (c1 VARCHAR(10)) ; +INSERT INTO t676 VALUES('a'); +CREATE TABLE t677 (c1 VARCHAR(10)) ; +INSERT INTO t677 VALUES('a'); +CREATE TABLE t678 (c1 VARCHAR(10)) ; +INSERT INTO t678 VALUES('a'); +CREATE TABLE t679 (c1 VARCHAR(10)) ; +INSERT INTO t679 VALUES('a'); +CREATE TABLE t680 (c1 VARCHAR(10)) ; +INSERT INTO t680 VALUES('a'); +CREATE TABLE t681 (c1 VARCHAR(10)) ; +INSERT INTO t681 VALUES('a'); +CREATE TABLE t682 (c1 VARCHAR(10)) ; +INSERT INTO t682 VALUES('a'); +CREATE TABLE t683 (c1 VARCHAR(10)) ; +INSERT INTO t683 VALUES('a'); +CREATE TABLE t684 (c1 VARCHAR(10)) ; +INSERT INTO t684 VALUES('a'); +CREATE TABLE t685 (c1 VARCHAR(10)) ; +INSERT INTO t685 VALUES('a'); +CREATE TABLE t686 (c1 VARCHAR(10)) ; +INSERT INTO t686 VALUES('a'); +CREATE TABLE t687 (c1 VARCHAR(10)) ; +INSERT INTO t687 VALUES('a'); +CREATE TABLE t688 (c1 VARCHAR(10)) ; +INSERT INTO t688 VALUES('a'); +CREATE TABLE t689 (c1 VARCHAR(10)) ; +INSERT INTO t689 VALUES('a'); +CREATE TABLE t690 (c1 VARCHAR(10)) ; +INSERT INTO t690 VALUES('a'); +CREATE TABLE t691 (c1 VARCHAR(10)) ; +INSERT INTO t691 VALUES('a'); +CREATE TABLE t692 (c1 VARCHAR(10)) ; +INSERT INTO t692 VALUES('a'); +CREATE TABLE t693 (c1 VARCHAR(10)) ; +INSERT INTO t693 VALUES('a'); +CREATE TABLE t694 (c1 VARCHAR(10)) ; +INSERT INTO t694 VALUES('a'); +CREATE TABLE t695 (c1 VARCHAR(10)) ; +INSERT INTO t695 VALUES('a'); +CREATE TABLE t696 (c1 VARCHAR(10)) ; +INSERT INTO t696 VALUES('a'); +CREATE TABLE t697 (c1 VARCHAR(10)) ; +INSERT INTO t697 VALUES('a'); +CREATE TABLE t698 (c1 VARCHAR(10)) ; +INSERT INTO t698 VALUES('a'); +CREATE TABLE t699 (c1 VARCHAR(10)) ; +INSERT INTO t699 VALUES('a'); +CREATE TABLE t700 (c1 VARCHAR(10)) ; +INSERT INTO t700 VALUES('a'); +CREATE TABLE t701 (c1 VARCHAR(10)) ; +INSERT INTO t701 VALUES('a'); +CREATE TABLE t702 (c1 VARCHAR(10)) ; +INSERT INTO t702 VALUES('a'); +CREATE TABLE t703 (c1 VARCHAR(10)) ; +INSERT INTO t703 VALUES('a'); +CREATE TABLE t704 (c1 VARCHAR(10)) ; +INSERT INTO t704 VALUES('a'); +CREATE TABLE t705 (c1 VARCHAR(10)) ; +INSERT INTO t705 VALUES('a'); +CREATE TABLE t706 (c1 VARCHAR(10)) ; +INSERT INTO t706 VALUES('a'); +CREATE TABLE t707 (c1 VARCHAR(10)) ; +INSERT INTO t707 VALUES('a'); +CREATE TABLE t708 (c1 VARCHAR(10)) ; +INSERT INTO t708 VALUES('a'); +CREATE TABLE t709 (c1 VARCHAR(10)) ; +INSERT INTO t709 VALUES('a'); +CREATE TABLE t710 (c1 VARCHAR(10)) ; +INSERT INTO t710 VALUES('a'); +CREATE TABLE t711 (c1 VARCHAR(10)) ; +INSERT INTO t711 VALUES('a'); +CREATE TABLE t712 (c1 VARCHAR(10)) ; +INSERT INTO t712 VALUES('a'); +CREATE TABLE t713 (c1 VARCHAR(10)) ; +INSERT INTO t713 VALUES('a'); +CREATE TABLE t714 (c1 VARCHAR(10)) ; +INSERT INTO t714 VALUES('a'); +CREATE TABLE t715 (c1 VARCHAR(10)) ; +INSERT INTO t715 VALUES('a'); +CREATE TABLE t716 (c1 VARCHAR(10)) ; +INSERT INTO t716 VALUES('a'); +CREATE TABLE t717 (c1 VARCHAR(10)) ; +INSERT INTO t717 VALUES('a'); +CREATE TABLE t718 (c1 VARCHAR(10)) ; +INSERT INTO t718 VALUES('a'); +CREATE TABLE t719 (c1 VARCHAR(10)) ; +INSERT INTO t719 VALUES('a'); +CREATE TABLE t720 (c1 VARCHAR(10)) ; +INSERT INTO t720 VALUES('a'); +CREATE TABLE t721 (c1 VARCHAR(10)) ; +INSERT INTO t721 VALUES('a'); +CREATE TABLE t722 (c1 VARCHAR(10)) ; +INSERT INTO t722 VALUES('a'); +CREATE TABLE t723 (c1 VARCHAR(10)) ; +INSERT INTO t723 VALUES('a'); +CREATE TABLE t724 (c1 VARCHAR(10)) ; +INSERT INTO t724 VALUES('a'); +CREATE TABLE t725 (c1 VARCHAR(10)) ; +INSERT INTO t725 VALUES('a'); +CREATE TABLE t726 (c1 VARCHAR(10)) ; +INSERT INTO t726 VALUES('a'); +CREATE TABLE t727 (c1 VARCHAR(10)) ; +INSERT INTO t727 VALUES('a'); +CREATE TABLE t728 (c1 VARCHAR(10)) ; +INSERT INTO t728 VALUES('a'); +CREATE TABLE t729 (c1 VARCHAR(10)) ; +INSERT INTO t729 VALUES('a'); +CREATE TABLE t730 (c1 VARCHAR(10)) ; +INSERT INTO t730 VALUES('a'); +CREATE TABLE t731 (c1 VARCHAR(10)) ; +INSERT INTO t731 VALUES('a'); +CREATE TABLE t732 (c1 VARCHAR(10)) ; +INSERT INTO t732 VALUES('a'); +CREATE TABLE t733 (c1 VARCHAR(10)) ; +INSERT INTO t733 VALUES('a'); +CREATE TABLE t734 (c1 VARCHAR(10)) ; +INSERT INTO t734 VALUES('a'); +CREATE TABLE t735 (c1 VARCHAR(10)) ; +INSERT INTO t735 VALUES('a'); +CREATE TABLE t736 (c1 VARCHAR(10)) ; +INSERT INTO t736 VALUES('a'); +CREATE TABLE t737 (c1 VARCHAR(10)) ; +INSERT INTO t737 VALUES('a'); +CREATE TABLE t738 (c1 VARCHAR(10)) ; +INSERT INTO t738 VALUES('a'); +CREATE TABLE t739 (c1 VARCHAR(10)) ; +INSERT INTO t739 VALUES('a'); +CREATE TABLE t740 (c1 VARCHAR(10)) ; +INSERT INTO t740 VALUES('a'); +CREATE TABLE t741 (c1 VARCHAR(10)) ; +INSERT INTO t741 VALUES('a'); +CREATE TABLE t742 (c1 VARCHAR(10)) ; +INSERT INTO t742 VALUES('a'); +CREATE TABLE t743 (c1 VARCHAR(10)) ; +INSERT INTO t743 VALUES('a'); +CREATE TABLE t744 (c1 VARCHAR(10)) ; +INSERT INTO t744 VALUES('a'); +CREATE TABLE t745 (c1 VARCHAR(10)) ; +INSERT INTO t745 VALUES('a'); +CREATE TABLE t746 (c1 VARCHAR(10)) ; +INSERT INTO t746 VALUES('a'); +CREATE TABLE t747 (c1 VARCHAR(10)) ; +INSERT INTO t747 VALUES('a'); +CREATE TABLE t748 (c1 VARCHAR(10)) ; +INSERT INTO t748 VALUES('a'); +CREATE TABLE t749 (c1 VARCHAR(10)) ; +INSERT INTO t749 VALUES('a'); +CREATE TABLE t750 (c1 VARCHAR(10)) ; +INSERT INTO t750 VALUES('a'); +CREATE TABLE t751 (c1 VARCHAR(10)) ; +INSERT INTO t751 VALUES('a'); +CREATE TABLE t752 (c1 VARCHAR(10)) ; +INSERT INTO t752 VALUES('a'); +CREATE TABLE t753 (c1 VARCHAR(10)) ; +INSERT INTO t753 VALUES('a'); +CREATE TABLE t754 (c1 VARCHAR(10)) ; +INSERT INTO t754 VALUES('a'); +CREATE TABLE t755 (c1 VARCHAR(10)) ; +INSERT INTO t755 VALUES('a'); +CREATE TABLE t756 (c1 VARCHAR(10)) ; +INSERT INTO t756 VALUES('a'); +CREATE TABLE t757 (c1 VARCHAR(10)) ; +INSERT INTO t757 VALUES('a'); +CREATE TABLE t758 (c1 VARCHAR(10)) ; +INSERT INTO t758 VALUES('a'); +CREATE TABLE t759 (c1 VARCHAR(10)) ; +INSERT INTO t759 VALUES('a'); +CREATE TABLE t760 (c1 VARCHAR(10)) ; +INSERT INTO t760 VALUES('a'); +CREATE TABLE t761 (c1 VARCHAR(10)) ; +INSERT INTO t761 VALUES('a'); +CREATE TABLE t762 (c1 VARCHAR(10)) ; +INSERT INTO t762 VALUES('a'); +CREATE TABLE t763 (c1 VARCHAR(10)) ; +INSERT INTO t763 VALUES('a'); +CREATE TABLE t764 (c1 VARCHAR(10)) ; +INSERT INTO t764 VALUES('a'); +CREATE TABLE t765 (c1 VARCHAR(10)) ; +INSERT INTO t765 VALUES('a'); +CREATE TABLE t766 (c1 VARCHAR(10)) ; +INSERT INTO t766 VALUES('a'); +CREATE TABLE t767 (c1 VARCHAR(10)) ; +INSERT INTO t767 VALUES('a'); +CREATE TABLE t768 (c1 VARCHAR(10)) ; +INSERT INTO t768 VALUES('a'); +CREATE TABLE t769 (c1 VARCHAR(10)) ; +INSERT INTO t769 VALUES('a'); +CREATE TABLE t770 (c1 VARCHAR(10)) ; +INSERT INTO t770 VALUES('a'); +CREATE TABLE t771 (c1 VARCHAR(10)) ; +INSERT INTO t771 VALUES('a'); +CREATE TABLE t772 (c1 VARCHAR(10)) ; +INSERT INTO t772 VALUES('a'); +CREATE TABLE t773 (c1 VARCHAR(10)) ; +INSERT INTO t773 VALUES('a'); +CREATE TABLE t774 (c1 VARCHAR(10)) ; +INSERT INTO t774 VALUES('a'); +CREATE TABLE t775 (c1 VARCHAR(10)) ; +INSERT INTO t775 VALUES('a'); +CREATE TABLE t776 (c1 VARCHAR(10)) ; +INSERT INTO t776 VALUES('a'); +CREATE TABLE t777 (c1 VARCHAR(10)) ; +INSERT INTO t777 VALUES('a'); +CREATE TABLE t778 (c1 VARCHAR(10)) ; +INSERT INTO t778 VALUES('a'); +CREATE TABLE t779 (c1 VARCHAR(10)) ; +INSERT INTO t779 VALUES('a'); +CREATE TABLE t780 (c1 VARCHAR(10)) ; +INSERT INTO t780 VALUES('a'); +CREATE TABLE t781 (c1 VARCHAR(10)) ; +INSERT INTO t781 VALUES('a'); +CREATE TABLE t782 (c1 VARCHAR(10)) ; +INSERT INTO t782 VALUES('a'); +CREATE TABLE t783 (c1 VARCHAR(10)) ; +INSERT INTO t783 VALUES('a'); +CREATE TABLE t784 (c1 VARCHAR(10)) ; +INSERT INTO t784 VALUES('a'); +CREATE TABLE t785 (c1 VARCHAR(10)) ; +INSERT INTO t785 VALUES('a'); +CREATE TABLE t786 (c1 VARCHAR(10)) ; +INSERT INTO t786 VALUES('a'); +CREATE TABLE t787 (c1 VARCHAR(10)) ; +INSERT INTO t787 VALUES('a'); +CREATE TABLE t788 (c1 VARCHAR(10)) ; +INSERT INTO t788 VALUES('a'); +CREATE TABLE t789 (c1 VARCHAR(10)) ; +INSERT INTO t789 VALUES('a'); +CREATE TABLE t790 (c1 VARCHAR(10)) ; +INSERT INTO t790 VALUES('a'); +CREATE TABLE t791 (c1 VARCHAR(10)) ; +INSERT INTO t791 VALUES('a'); +CREATE TABLE t792 (c1 VARCHAR(10)) ; +INSERT INTO t792 VALUES('a'); +CREATE TABLE t793 (c1 VARCHAR(10)) ; +INSERT INTO t793 VALUES('a'); +CREATE TABLE t794 (c1 VARCHAR(10)) ; +INSERT INTO t794 VALUES('a'); +CREATE TABLE t795 (c1 VARCHAR(10)) ; +INSERT INTO t795 VALUES('a'); +CREATE TABLE t796 (c1 VARCHAR(10)) ; +INSERT INTO t796 VALUES('a'); +CREATE TABLE t797 (c1 VARCHAR(10)) ; +INSERT INTO t797 VALUES('a'); +CREATE TABLE t798 (c1 VARCHAR(10)) ; +INSERT INTO t798 VALUES('a'); +CREATE TABLE t799 (c1 VARCHAR(10)) ; +INSERT INTO t799 VALUES('a'); +CREATE TABLE t800 (c1 VARCHAR(10)) ; +INSERT INTO t800 VALUES('a'); +CREATE TABLE t801 (c1 VARCHAR(10)) ; +INSERT INTO t801 VALUES('a'); +CREATE TABLE t802 (c1 VARCHAR(10)) ; +INSERT INTO t802 VALUES('a'); +CREATE TABLE t803 (c1 VARCHAR(10)) ; +INSERT INTO t803 VALUES('a'); +CREATE TABLE t804 (c1 VARCHAR(10)) ; +INSERT INTO t804 VALUES('a'); +CREATE TABLE t805 (c1 VARCHAR(10)) ; +INSERT INTO t805 VALUES('a'); +CREATE TABLE t806 (c1 VARCHAR(10)) ; +INSERT INTO t806 VALUES('a'); +CREATE TABLE t807 (c1 VARCHAR(10)) ; +INSERT INTO t807 VALUES('a'); +CREATE TABLE t808 (c1 VARCHAR(10)) ; +INSERT INTO t808 VALUES('a'); +CREATE TABLE t809 (c1 VARCHAR(10)) ; +INSERT INTO t809 VALUES('a'); +CREATE TABLE t810 (c1 VARCHAR(10)) ; +INSERT INTO t810 VALUES('a'); +CREATE TABLE t811 (c1 VARCHAR(10)) ; +INSERT INTO t811 VALUES('a'); +CREATE TABLE t812 (c1 VARCHAR(10)) ; +INSERT INTO t812 VALUES('a'); +CREATE TABLE t813 (c1 VARCHAR(10)) ; +INSERT INTO t813 VALUES('a'); +CREATE TABLE t814 (c1 VARCHAR(10)) ; +INSERT INTO t814 VALUES('a'); +CREATE TABLE t815 (c1 VARCHAR(10)) ; +INSERT INTO t815 VALUES('a'); +CREATE TABLE t816 (c1 VARCHAR(10)) ; +INSERT INTO t816 VALUES('a'); +CREATE TABLE t817 (c1 VARCHAR(10)) ; +INSERT INTO t817 VALUES('a'); +CREATE TABLE t818 (c1 VARCHAR(10)) ; +INSERT INTO t818 VALUES('a'); +CREATE TABLE t819 (c1 VARCHAR(10)) ; +INSERT INTO t819 VALUES('a'); +CREATE TABLE t820 (c1 VARCHAR(10)) ; +INSERT INTO t820 VALUES('a'); +CREATE TABLE t821 (c1 VARCHAR(10)) ; +INSERT INTO t821 VALUES('a'); +CREATE TABLE t822 (c1 VARCHAR(10)) ; +INSERT INTO t822 VALUES('a'); +CREATE TABLE t823 (c1 VARCHAR(10)) ; +INSERT INTO t823 VALUES('a'); +CREATE TABLE t824 (c1 VARCHAR(10)) ; +INSERT INTO t824 VALUES('a'); +CREATE TABLE t825 (c1 VARCHAR(10)) ; +INSERT INTO t825 VALUES('a'); +CREATE TABLE t826 (c1 VARCHAR(10)) ; +INSERT INTO t826 VALUES('a'); +CREATE TABLE t827 (c1 VARCHAR(10)) ; +INSERT INTO t827 VALUES('a'); +CREATE TABLE t828 (c1 VARCHAR(10)) ; +INSERT INTO t828 VALUES('a'); +CREATE TABLE t829 (c1 VARCHAR(10)) ; +INSERT INTO t829 VALUES('a'); +CREATE TABLE t830 (c1 VARCHAR(10)) ; +INSERT INTO t830 VALUES('a'); +CREATE TABLE t831 (c1 VARCHAR(10)) ; +INSERT INTO t831 VALUES('a'); +CREATE TABLE t832 (c1 VARCHAR(10)) ; +INSERT INTO t832 VALUES('a'); +CREATE TABLE t833 (c1 VARCHAR(10)) ; +INSERT INTO t833 VALUES('a'); +CREATE TABLE t834 (c1 VARCHAR(10)) ; +INSERT INTO t834 VALUES('a'); +CREATE TABLE t835 (c1 VARCHAR(10)) ; +INSERT INTO t835 VALUES('a'); +CREATE TABLE t836 (c1 VARCHAR(10)) ; +INSERT INTO t836 VALUES('a'); +CREATE TABLE t837 (c1 VARCHAR(10)) ; +INSERT INTO t837 VALUES('a'); +CREATE TABLE t838 (c1 VARCHAR(10)) ; +INSERT INTO t838 VALUES('a'); +CREATE TABLE t839 (c1 VARCHAR(10)) ; +INSERT INTO t839 VALUES('a'); +CREATE TABLE t840 (c1 VARCHAR(10)) ; +INSERT INTO t840 VALUES('a'); +CREATE TABLE t841 (c1 VARCHAR(10)) ; +INSERT INTO t841 VALUES('a'); +CREATE TABLE t842 (c1 VARCHAR(10)) ; +INSERT INTO t842 VALUES('a'); +CREATE TABLE t843 (c1 VARCHAR(10)) ; +INSERT INTO t843 VALUES('a'); +CREATE TABLE t844 (c1 VARCHAR(10)) ; +INSERT INTO t844 VALUES('a'); +CREATE TABLE t845 (c1 VARCHAR(10)) ; +INSERT INTO t845 VALUES('a'); +CREATE TABLE t846 (c1 VARCHAR(10)) ; +INSERT INTO t846 VALUES('a'); +CREATE TABLE t847 (c1 VARCHAR(10)) ; +INSERT INTO t847 VALUES('a'); +CREATE TABLE t848 (c1 VARCHAR(10)) ; +INSERT INTO t848 VALUES('a'); +CREATE TABLE t849 (c1 VARCHAR(10)) ; +INSERT INTO t849 VALUES('a'); +CREATE TABLE t850 (c1 VARCHAR(10)) ; +INSERT INTO t850 VALUES('a'); +CREATE TABLE t851 (c1 VARCHAR(10)) ; +INSERT INTO t851 VALUES('a'); +CREATE TABLE t852 (c1 VARCHAR(10)) ; +INSERT INTO t852 VALUES('a'); +CREATE TABLE t853 (c1 VARCHAR(10)) ; +INSERT INTO t853 VALUES('a'); +CREATE TABLE t854 (c1 VARCHAR(10)) ; +INSERT INTO t854 VALUES('a'); +CREATE TABLE t855 (c1 VARCHAR(10)) ; +INSERT INTO t855 VALUES('a'); +CREATE TABLE t856 (c1 VARCHAR(10)) ; +INSERT INTO t856 VALUES('a'); +CREATE TABLE t857 (c1 VARCHAR(10)) ; +INSERT INTO t857 VALUES('a'); +CREATE TABLE t858 (c1 VARCHAR(10)) ; +INSERT INTO t858 VALUES('a'); +CREATE TABLE t859 (c1 VARCHAR(10)) ; +INSERT INTO t859 VALUES('a'); +CREATE TABLE t860 (c1 VARCHAR(10)) ; +INSERT INTO t860 VALUES('a'); +CREATE TABLE t861 (c1 VARCHAR(10)) ; +INSERT INTO t861 VALUES('a'); +CREATE TABLE t862 (c1 VARCHAR(10)) ; +INSERT INTO t862 VALUES('a'); +CREATE TABLE t863 (c1 VARCHAR(10)) ; +INSERT INTO t863 VALUES('a'); +CREATE TABLE t864 (c1 VARCHAR(10)) ; +INSERT INTO t864 VALUES('a'); +CREATE TABLE t865 (c1 VARCHAR(10)) ; +INSERT INTO t865 VALUES('a'); +CREATE TABLE t866 (c1 VARCHAR(10)) ; +INSERT INTO t866 VALUES('a'); +CREATE TABLE t867 (c1 VARCHAR(10)) ; +INSERT INTO t867 VALUES('a'); +CREATE TABLE t868 (c1 VARCHAR(10)) ; +INSERT INTO t868 VALUES('a'); +CREATE TABLE t869 (c1 VARCHAR(10)) ; +INSERT INTO t869 VALUES('a'); +CREATE TABLE t870 (c1 VARCHAR(10)) ; +INSERT INTO t870 VALUES('a'); +CREATE TABLE t871 (c1 VARCHAR(10)) ; +INSERT INTO t871 VALUES('a'); +CREATE TABLE t872 (c1 VARCHAR(10)) ; +INSERT INTO t872 VALUES('a'); +CREATE TABLE t873 (c1 VARCHAR(10)) ; +INSERT INTO t873 VALUES('a'); +CREATE TABLE t874 (c1 VARCHAR(10)) ; +INSERT INTO t874 VALUES('a'); +CREATE TABLE t875 (c1 VARCHAR(10)) ; +INSERT INTO t875 VALUES('a'); +CREATE TABLE t876 (c1 VARCHAR(10)) ; +INSERT INTO t876 VALUES('a'); +CREATE TABLE t877 (c1 VARCHAR(10)) ; +INSERT INTO t877 VALUES('a'); +CREATE TABLE t878 (c1 VARCHAR(10)) ; +INSERT INTO t878 VALUES('a'); +CREATE TABLE t879 (c1 VARCHAR(10)) ; +INSERT INTO t879 VALUES('a'); +CREATE TABLE t880 (c1 VARCHAR(10)) ; +INSERT INTO t880 VALUES('a'); +CREATE TABLE t881 (c1 VARCHAR(10)) ; +INSERT INTO t881 VALUES('a'); +CREATE TABLE t882 (c1 VARCHAR(10)) ; +INSERT INTO t882 VALUES('a'); +CREATE TABLE t883 (c1 VARCHAR(10)) ; +INSERT INTO t883 VALUES('a'); +CREATE TABLE t884 (c1 VARCHAR(10)) ; +INSERT INTO t884 VALUES('a'); +CREATE TABLE t885 (c1 VARCHAR(10)) ; +INSERT INTO t885 VALUES('a'); +CREATE TABLE t886 (c1 VARCHAR(10)) ; +INSERT INTO t886 VALUES('a'); +CREATE TABLE t887 (c1 VARCHAR(10)) ; +INSERT INTO t887 VALUES('a'); +CREATE TABLE t888 (c1 VARCHAR(10)) ; +INSERT INTO t888 VALUES('a'); +CREATE TABLE t889 (c1 VARCHAR(10)) ; +INSERT INTO t889 VALUES('a'); +CREATE TABLE t890 (c1 VARCHAR(10)) ; +INSERT INTO t890 VALUES('a'); +CREATE TABLE t891 (c1 VARCHAR(10)) ; +INSERT INTO t891 VALUES('a'); +CREATE TABLE t892 (c1 VARCHAR(10)) ; +INSERT INTO t892 VALUES('a'); +CREATE TABLE t893 (c1 VARCHAR(10)) ; +INSERT INTO t893 VALUES('a'); +CREATE TABLE t894 (c1 VARCHAR(10)) ; +INSERT INTO t894 VALUES('a'); +CREATE TABLE t895 (c1 VARCHAR(10)) ; +INSERT INTO t895 VALUES('a'); +CREATE TABLE t896 (c1 VARCHAR(10)) ; +INSERT INTO t896 VALUES('a'); +CREATE TABLE t897 (c1 VARCHAR(10)) ; +INSERT INTO t897 VALUES('a'); +CREATE TABLE t898 (c1 VARCHAR(10)) ; +INSERT INTO t898 VALUES('a'); +CREATE TABLE t899 (c1 VARCHAR(10)) ; +INSERT INTO t899 VALUES('a'); +CREATE TABLE t900 (c1 VARCHAR(10)) ; +INSERT INTO t900 VALUES('a'); +CREATE TABLE t901 (c1 VARCHAR(10)) ; +INSERT INTO t901 VALUES('a'); +CREATE TABLE t902 (c1 VARCHAR(10)) ; +INSERT INTO t902 VALUES('a'); +CREATE TABLE t903 (c1 VARCHAR(10)) ; +INSERT INTO t903 VALUES('a'); +CREATE TABLE t904 (c1 VARCHAR(10)) ; +INSERT INTO t904 VALUES('a'); +CREATE TABLE t905 (c1 VARCHAR(10)) ; +INSERT INTO t905 VALUES('a'); +CREATE TABLE t906 (c1 VARCHAR(10)) ; +INSERT INTO t906 VALUES('a'); +CREATE TABLE t907 (c1 VARCHAR(10)) ; +INSERT INTO t907 VALUES('a'); +CREATE TABLE t908 (c1 VARCHAR(10)) ; +INSERT INTO t908 VALUES('a'); +CREATE TABLE t909 (c1 VARCHAR(10)) ; +INSERT INTO t909 VALUES('a'); +CREATE TABLE t910 (c1 VARCHAR(10)) ; +INSERT INTO t910 VALUES('a'); +CREATE TABLE t911 (c1 VARCHAR(10)) ; +INSERT INTO t911 VALUES('a'); +CREATE TABLE t912 (c1 VARCHAR(10)) ; +INSERT INTO t912 VALUES('a'); +CREATE TABLE t913 (c1 VARCHAR(10)) ; +INSERT INTO t913 VALUES('a'); +CREATE TABLE t914 (c1 VARCHAR(10)) ; +INSERT INTO t914 VALUES('a'); +CREATE TABLE t915 (c1 VARCHAR(10)) ; +INSERT INTO t915 VALUES('a'); +CREATE TABLE t916 (c1 VARCHAR(10)) ; +INSERT INTO t916 VALUES('a'); +CREATE TABLE t917 (c1 VARCHAR(10)) ; +INSERT INTO t917 VALUES('a'); +CREATE TABLE t918 (c1 VARCHAR(10)) ; +INSERT INTO t918 VALUES('a'); +CREATE TABLE t919 (c1 VARCHAR(10)) ; +INSERT INTO t919 VALUES('a'); +CREATE TABLE t920 (c1 VARCHAR(10)) ; +INSERT INTO t920 VALUES('a'); +CREATE TABLE t921 (c1 VARCHAR(10)) ; +INSERT INTO t921 VALUES('a'); +CREATE TABLE t922 (c1 VARCHAR(10)) ; +INSERT INTO t922 VALUES('a'); +CREATE TABLE t923 (c1 VARCHAR(10)) ; +INSERT INTO t923 VALUES('a'); +CREATE TABLE t924 (c1 VARCHAR(10)) ; +INSERT INTO t924 VALUES('a'); +CREATE TABLE t925 (c1 VARCHAR(10)) ; +INSERT INTO t925 VALUES('a'); +CREATE TABLE t926 (c1 VARCHAR(10)) ; +INSERT INTO t926 VALUES('a'); +CREATE TABLE t927 (c1 VARCHAR(10)) ; +INSERT INTO t927 VALUES('a'); +CREATE TABLE t928 (c1 VARCHAR(10)) ; +INSERT INTO t928 VALUES('a'); +CREATE TABLE t929 (c1 VARCHAR(10)) ; +INSERT INTO t929 VALUES('a'); +CREATE TABLE t930 (c1 VARCHAR(10)) ; +INSERT INTO t930 VALUES('a'); +CREATE TABLE t931 (c1 VARCHAR(10)) ; +INSERT INTO t931 VALUES('a'); +CREATE TABLE t932 (c1 VARCHAR(10)) ; +INSERT INTO t932 VALUES('a'); +CREATE TABLE t933 (c1 VARCHAR(10)) ; +INSERT INTO t933 VALUES('a'); +CREATE TABLE t934 (c1 VARCHAR(10)) ; +INSERT INTO t934 VALUES('a'); +CREATE TABLE t935 (c1 VARCHAR(10)) ; +INSERT INTO t935 VALUES('a'); +CREATE TABLE t936 (c1 VARCHAR(10)) ; +INSERT INTO t936 VALUES('a'); +CREATE TABLE t937 (c1 VARCHAR(10)) ; +INSERT INTO t937 VALUES('a'); +CREATE TABLE t938 (c1 VARCHAR(10)) ; +INSERT INTO t938 VALUES('a'); +CREATE TABLE t939 (c1 VARCHAR(10)) ; +INSERT INTO t939 VALUES('a'); +CREATE TABLE t940 (c1 VARCHAR(10)) ; +INSERT INTO t940 VALUES('a'); +CREATE TABLE t941 (c1 VARCHAR(10)) ; +INSERT INTO t941 VALUES('a'); +CREATE TABLE t942 (c1 VARCHAR(10)) ; +INSERT INTO t942 VALUES('a'); +CREATE TABLE t943 (c1 VARCHAR(10)) ; +INSERT INTO t943 VALUES('a'); +CREATE TABLE t944 (c1 VARCHAR(10)) ; +INSERT INTO t944 VALUES('a'); +CREATE TABLE t945 (c1 VARCHAR(10)) ; +INSERT INTO t945 VALUES('a'); +CREATE TABLE t946 (c1 VARCHAR(10)) ; +INSERT INTO t946 VALUES('a'); +CREATE TABLE t947 (c1 VARCHAR(10)) ; +INSERT INTO t947 VALUES('a'); +CREATE TABLE t948 (c1 VARCHAR(10)) ; +INSERT INTO t948 VALUES('a'); +CREATE TABLE t949 (c1 VARCHAR(10)) ; +INSERT INTO t949 VALUES('a'); +CREATE TABLE t950 (c1 VARCHAR(10)) ; +INSERT INTO t950 VALUES('a'); +CREATE TABLE t951 (c1 VARCHAR(10)) ; +INSERT INTO t951 VALUES('a'); +CREATE TABLE t952 (c1 VARCHAR(10)) ; +INSERT INTO t952 VALUES('a'); +CREATE TABLE t953 (c1 VARCHAR(10)) ; +INSERT INTO t953 VALUES('a'); +CREATE TABLE t954 (c1 VARCHAR(10)) ; +INSERT INTO t954 VALUES('a'); +CREATE TABLE t955 (c1 VARCHAR(10)) ; +INSERT INTO t955 VALUES('a'); +CREATE TABLE t956 (c1 VARCHAR(10)) ; +INSERT INTO t956 VALUES('a'); +CREATE TABLE t957 (c1 VARCHAR(10)) ; +INSERT INTO t957 VALUES('a'); +CREATE TABLE t958 (c1 VARCHAR(10)) ; +INSERT INTO t958 VALUES('a'); +CREATE TABLE t959 (c1 VARCHAR(10)) ; +INSERT INTO t959 VALUES('a'); +CREATE TABLE t960 (c1 VARCHAR(10)) ; +INSERT INTO t960 VALUES('a'); +CREATE TABLE t961 (c1 VARCHAR(10)) ; +INSERT INTO t961 VALUES('a'); +CREATE TABLE t962 (c1 VARCHAR(10)) ; +INSERT INTO t962 VALUES('a'); +CREATE TABLE t963 (c1 VARCHAR(10)) ; +INSERT INTO t963 VALUES('a'); +CREATE TABLE t964 (c1 VARCHAR(10)) ; +INSERT INTO t964 VALUES('a'); +CREATE TABLE t965 (c1 VARCHAR(10)) ; +INSERT INTO t965 VALUES('a'); +CREATE TABLE t966 (c1 VARCHAR(10)) ; +INSERT INTO t966 VALUES('a'); +CREATE TABLE t967 (c1 VARCHAR(10)) ; +INSERT INTO t967 VALUES('a'); +CREATE TABLE t968 (c1 VARCHAR(10)) ; +INSERT INTO t968 VALUES('a'); +CREATE TABLE t969 (c1 VARCHAR(10)) ; +INSERT INTO t969 VALUES('a'); +CREATE TABLE t970 (c1 VARCHAR(10)) ; +INSERT INTO t970 VALUES('a'); +CREATE TABLE t971 (c1 VARCHAR(10)) ; +INSERT INTO t971 VALUES('a'); +CREATE TABLE t972 (c1 VARCHAR(10)) ; +INSERT INTO t972 VALUES('a'); +CREATE TABLE t973 (c1 VARCHAR(10)) ; +INSERT INTO t973 VALUES('a'); +CREATE TABLE t974 (c1 VARCHAR(10)) ; +INSERT INTO t974 VALUES('a'); +CREATE TABLE t975 (c1 VARCHAR(10)) ; +INSERT INTO t975 VALUES('a'); +CREATE TABLE t976 (c1 VARCHAR(10)) ; +INSERT INTO t976 VALUES('a'); +CREATE TABLE t977 (c1 VARCHAR(10)) ; +INSERT INTO t977 VALUES('a'); +CREATE TABLE t978 (c1 VARCHAR(10)) ; +INSERT INTO t978 VALUES('a'); +CREATE TABLE t979 (c1 VARCHAR(10)) ; +INSERT INTO t979 VALUES('a'); +CREATE TABLE t980 (c1 VARCHAR(10)) ; +INSERT INTO t980 VALUES('a'); +CREATE TABLE t981 (c1 VARCHAR(10)) ; +INSERT INTO t981 VALUES('a'); +CREATE TABLE t982 (c1 VARCHAR(10)) ; +INSERT INTO t982 VALUES('a'); +CREATE TABLE t983 (c1 VARCHAR(10)) ; +INSERT INTO t983 VALUES('a'); +CREATE TABLE t984 (c1 VARCHAR(10)) ; +INSERT INTO t984 VALUES('a'); +CREATE TABLE t985 (c1 VARCHAR(10)) ; +INSERT INTO t985 VALUES('a'); +CREATE TABLE t986 (c1 VARCHAR(10)) ; +INSERT INTO t986 VALUES('a'); +CREATE TABLE t987 (c1 VARCHAR(10)) ; +INSERT INTO t987 VALUES('a'); +CREATE TABLE t988 (c1 VARCHAR(10)) ; +INSERT INTO t988 VALUES('a'); +CREATE TABLE t989 (c1 VARCHAR(10)) ; +INSERT INTO t989 VALUES('a'); +CREATE TABLE t990 (c1 VARCHAR(10)) ; +INSERT INTO t990 VALUES('a'); +CREATE TABLE t991 (c1 VARCHAR(10)) ; +INSERT INTO t991 VALUES('a'); +CREATE TABLE t992 (c1 VARCHAR(10)) ; +INSERT INTO t992 VALUES('a'); +CREATE TABLE t993 (c1 VARCHAR(10)) ; +INSERT INTO t993 VALUES('a'); +CREATE TABLE t994 (c1 VARCHAR(10)) ; +INSERT INTO t994 VALUES('a'); +CREATE TABLE t995 (c1 VARCHAR(10)) ; +INSERT INTO t995 VALUES('a'); +CREATE TABLE t996 (c1 VARCHAR(10)) ; +INSERT INTO t996 VALUES('a'); +CREATE TABLE t997 (c1 VARCHAR(10)) ; +INSERT INTO t997 VALUES('a'); +CREATE TABLE t998 (c1 VARCHAR(10)) ; +INSERT INTO t998 VALUES('a'); +CREATE TABLE t999 (c1 VARCHAR(10)) ; +INSERT INTO t999 VALUES('a'); +CREATE TABLE t1000 (c1 VARCHAR(10)) ; +INSERT INTO t1000 VALUES('a'); +DROP TABLE t1 ; +DROP TABLE t2 ; +DROP TABLE t3 ; +DROP TABLE t4 ; +DROP TABLE t5 ; +DROP TABLE t6 ; +DROP TABLE t7 ; +DROP TABLE t8 ; +DROP TABLE t9 ; +DROP TABLE t10 ; +DROP TABLE t11 ; +DROP TABLE t12 ; +DROP TABLE t13 ; +DROP TABLE t14 ; +DROP TABLE t15 ; +DROP TABLE t16 ; +DROP TABLE t17 ; +DROP TABLE t18 ; +DROP TABLE t19 ; +DROP TABLE t20 ; +DROP TABLE t21 ; +DROP TABLE t22 ; +DROP TABLE t23 ; +DROP TABLE t24 ; +DROP TABLE t25 ; +DROP TABLE t26 ; +DROP TABLE t27 ; +DROP TABLE t28 ; +DROP TABLE t29 ; +DROP TABLE t30 ; +DROP TABLE t31 ; +DROP TABLE t32 ; +DROP TABLE t33 ; +DROP TABLE t34 ; +DROP TABLE t35 ; +DROP TABLE t36 ; +DROP TABLE t37 ; +DROP TABLE t38 ; +DROP TABLE t39 ; +DROP TABLE t40 ; +DROP TABLE t41 ; +DROP TABLE t42 ; +DROP TABLE t43 ; +DROP TABLE t44 ; +DROP TABLE t45 ; +DROP TABLE t46 ; +DROP TABLE t47 ; +DROP TABLE t48 ; +DROP TABLE t49 ; +DROP TABLE t50 ; +DROP TABLE t51 ; +DROP TABLE t52 ; +DROP TABLE t53 ; +DROP TABLE t54 ; +DROP TABLE t55 ; +DROP TABLE t56 ; +DROP TABLE t57 ; +DROP TABLE t58 ; +DROP TABLE t59 ; +DROP TABLE t60 ; +DROP TABLE t61 ; +DROP TABLE t62 ; +DROP TABLE t63 ; +DROP TABLE t64 ; +DROP TABLE t65 ; +DROP TABLE t66 ; +DROP TABLE t67 ; +DROP TABLE t68 ; +DROP TABLE t69 ; +DROP TABLE t70 ; +DROP TABLE t71 ; +DROP TABLE t72 ; +DROP TABLE t73 ; +DROP TABLE t74 ; +DROP TABLE t75 ; +DROP TABLE t76 ; +DROP TABLE t77 ; +DROP TABLE t78 ; +DROP TABLE t79 ; +DROP TABLE t80 ; +DROP TABLE t81 ; +DROP TABLE t82 ; +DROP TABLE t83 ; +DROP TABLE t84 ; +DROP TABLE t85 ; +DROP TABLE t86 ; +DROP TABLE t87 ; +DROP TABLE t88 ; +DROP TABLE t89 ; +DROP TABLE t90 ; +DROP TABLE t91 ; +DROP TABLE t92 ; +DROP TABLE t93 ; +DROP TABLE t94 ; +DROP TABLE t95 ; +DROP TABLE t96 ; +DROP TABLE t97 ; +DROP TABLE t98 ; +DROP TABLE t99 ; +DROP TABLE t100 ; +DROP TABLE t101 ; +DROP TABLE t102 ; +DROP TABLE t103 ; +DROP TABLE t104 ; +DROP TABLE t105 ; +DROP TABLE t106 ; +DROP TABLE t107 ; +DROP TABLE t108 ; +DROP TABLE t109 ; +DROP TABLE t110 ; +DROP TABLE t111 ; +DROP TABLE t112 ; +DROP TABLE t113 ; +DROP TABLE t114 ; +DROP TABLE t115 ; +DROP TABLE t116 ; +DROP TABLE t117 ; +DROP TABLE t118 ; +DROP TABLE t119 ; +DROP TABLE t120 ; +DROP TABLE t121 ; +DROP TABLE t122 ; +DROP TABLE t123 ; +DROP TABLE t124 ; +DROP TABLE t125 ; +DROP TABLE t126 ; +DROP TABLE t127 ; +DROP TABLE t128 ; +DROP TABLE t129 ; +DROP TABLE t130 ; +DROP TABLE t131 ; +DROP TABLE t132 ; +DROP TABLE t133 ; +DROP TABLE t134 ; +DROP TABLE t135 ; +DROP TABLE t136 ; +DROP TABLE t137 ; +DROP TABLE t138 ; +DROP TABLE t139 ; +DROP TABLE t140 ; +DROP TABLE t141 ; +DROP TABLE t142 ; +DROP TABLE t143 ; +DROP TABLE t144 ; +DROP TABLE t145 ; +DROP TABLE t146 ; +DROP TABLE t147 ; +DROP TABLE t148 ; +DROP TABLE t149 ; +DROP TABLE t150 ; +DROP TABLE t151 ; +DROP TABLE t152 ; +DROP TABLE t153 ; +DROP TABLE t154 ; +DROP TABLE t155 ; +DROP TABLE t156 ; +DROP TABLE t157 ; +DROP TABLE t158 ; +DROP TABLE t159 ; +DROP TABLE t160 ; +DROP TABLE t161 ; +DROP TABLE t162 ; +DROP TABLE t163 ; +DROP TABLE t164 ; +DROP TABLE t165 ; +DROP TABLE t166 ; +DROP TABLE t167 ; +DROP TABLE t168 ; +DROP TABLE t169 ; +DROP TABLE t170 ; +DROP TABLE t171 ; +DROP TABLE t172 ; +DROP TABLE t173 ; +DROP TABLE t174 ; +DROP TABLE t175 ; +DROP TABLE t176 ; +DROP TABLE t177 ; +DROP TABLE t178 ; +DROP TABLE t179 ; +DROP TABLE t180 ; +DROP TABLE t181 ; +DROP TABLE t182 ; +DROP TABLE t183 ; +DROP TABLE t184 ; +DROP TABLE t185 ; +DROP TABLE t186 ; +DROP TABLE t187 ; +DROP TABLE t188 ; +DROP TABLE t189 ; +DROP TABLE t190 ; +DROP TABLE t191 ; +DROP TABLE t192 ; +DROP TABLE t193 ; +DROP TABLE t194 ; +DROP TABLE t195 ; +DROP TABLE t196 ; +DROP TABLE t197 ; +DROP TABLE t198 ; +DROP TABLE t199 ; +DROP TABLE t200 ; +DROP TABLE t201 ; +DROP TABLE t202 ; +DROP TABLE t203 ; +DROP TABLE t204 ; +DROP TABLE t205 ; +DROP TABLE t206 ; +DROP TABLE t207 ; +DROP TABLE t208 ; +DROP TABLE t209 ; +DROP TABLE t210 ; +DROP TABLE t211 ; +DROP TABLE t212 ; +DROP TABLE t213 ; +DROP TABLE t214 ; +DROP TABLE t215 ; +DROP TABLE t216 ; +DROP TABLE t217 ; +DROP TABLE t218 ; +DROP TABLE t219 ; +DROP TABLE t220 ; +DROP TABLE t221 ; +DROP TABLE t222 ; +DROP TABLE t223 ; +DROP TABLE t224 ; +DROP TABLE t225 ; +DROP TABLE t226 ; +DROP TABLE t227 ; +DROP TABLE t228 ; +DROP TABLE t229 ; +DROP TABLE t230 ; +DROP TABLE t231 ; +DROP TABLE t232 ; +DROP TABLE t233 ; +DROP TABLE t234 ; +DROP TABLE t235 ; +DROP TABLE t236 ; +DROP TABLE t237 ; +DROP TABLE t238 ; +DROP TABLE t239 ; +DROP TABLE t240 ; +DROP TABLE t241 ; +DROP TABLE t242 ; +DROP TABLE t243 ; +DROP TABLE t244 ; +DROP TABLE t245 ; +DROP TABLE t246 ; +DROP TABLE t247 ; +DROP TABLE t248 ; +DROP TABLE t249 ; +DROP TABLE t250 ; +DROP TABLE t251 ; +DROP TABLE t252 ; +DROP TABLE t253 ; +DROP TABLE t254 ; +DROP TABLE t255 ; +DROP TABLE t256 ; +DROP TABLE t257 ; +DROP TABLE t258 ; +DROP TABLE t259 ; +DROP TABLE t260 ; +DROP TABLE t261 ; +DROP TABLE t262 ; +DROP TABLE t263 ; +DROP TABLE t264 ; +DROP TABLE t265 ; +DROP TABLE t266 ; +DROP TABLE t267 ; +DROP TABLE t268 ; +DROP TABLE t269 ; +DROP TABLE t270 ; +DROP TABLE t271 ; +DROP TABLE t272 ; +DROP TABLE t273 ; +DROP TABLE t274 ; +DROP TABLE t275 ; +DROP TABLE t276 ; +DROP TABLE t277 ; +DROP TABLE t278 ; +DROP TABLE t279 ; +DROP TABLE t280 ; +DROP TABLE t281 ; +DROP TABLE t282 ; +DROP TABLE t283 ; +DROP TABLE t284 ; +DROP TABLE t285 ; +DROP TABLE t286 ; +DROP TABLE t287 ; +DROP TABLE t288 ; +DROP TABLE t289 ; +DROP TABLE t290 ; +DROP TABLE t291 ; +DROP TABLE t292 ; +DROP TABLE t293 ; +DROP TABLE t294 ; +DROP TABLE t295 ; +DROP TABLE t296 ; +DROP TABLE t297 ; +DROP TABLE t298 ; +DROP TABLE t299 ; +DROP TABLE t300 ; +DROP TABLE t301 ; +DROP TABLE t302 ; +DROP TABLE t303 ; +DROP TABLE t304 ; +DROP TABLE t305 ; +DROP TABLE t306 ; +DROP TABLE t307 ; +DROP TABLE t308 ; +DROP TABLE t309 ; +DROP TABLE t310 ; +DROP TABLE t311 ; +DROP TABLE t312 ; +DROP TABLE t313 ; +DROP TABLE t314 ; +DROP TABLE t315 ; +DROP TABLE t316 ; +DROP TABLE t317 ; +DROP TABLE t318 ; +DROP TABLE t319 ; +DROP TABLE t320 ; +DROP TABLE t321 ; +DROP TABLE t322 ; +DROP TABLE t323 ; +DROP TABLE t324 ; +DROP TABLE t325 ; +DROP TABLE t326 ; +DROP TABLE t327 ; +DROP TABLE t328 ; +DROP TABLE t329 ; +DROP TABLE t330 ; +DROP TABLE t331 ; +DROP TABLE t332 ; +DROP TABLE t333 ; +DROP TABLE t334 ; +DROP TABLE t335 ; +DROP TABLE t336 ; +DROP TABLE t337 ; +DROP TABLE t338 ; +DROP TABLE t339 ; +DROP TABLE t340 ; +DROP TABLE t341 ; +DROP TABLE t342 ; +DROP TABLE t343 ; +DROP TABLE t344 ; +DROP TABLE t345 ; +DROP TABLE t346 ; +DROP TABLE t347 ; +DROP TABLE t348 ; +DROP TABLE t349 ; +DROP TABLE t350 ; +DROP TABLE t351 ; +DROP TABLE t352 ; +DROP TABLE t353 ; +DROP TABLE t354 ; +DROP TABLE t355 ; +DROP TABLE t356 ; +DROP TABLE t357 ; +DROP TABLE t358 ; +DROP TABLE t359 ; +DROP TABLE t360 ; +DROP TABLE t361 ; +DROP TABLE t362 ; +DROP TABLE t363 ; +DROP TABLE t364 ; +DROP TABLE t365 ; +DROP TABLE t366 ; +DROP TABLE t367 ; +DROP TABLE t368 ; +DROP TABLE t369 ; +DROP TABLE t370 ; +DROP TABLE t371 ; +DROP TABLE t372 ; +DROP TABLE t373 ; +DROP TABLE t374 ; +DROP TABLE t375 ; +DROP TABLE t376 ; +DROP TABLE t377 ; +DROP TABLE t378 ; +DROP TABLE t379 ; +DROP TABLE t380 ; +DROP TABLE t381 ; +DROP TABLE t382 ; +DROP TABLE t383 ; +DROP TABLE t384 ; +DROP TABLE t385 ; +DROP TABLE t386 ; +DROP TABLE t387 ; +DROP TABLE t388 ; +DROP TABLE t389 ; +DROP TABLE t390 ; +DROP TABLE t391 ; +DROP TABLE t392 ; +DROP TABLE t393 ; +DROP TABLE t394 ; +DROP TABLE t395 ; +DROP TABLE t396 ; +DROP TABLE t397 ; +DROP TABLE t398 ; +DROP TABLE t399 ; +DROP TABLE t400 ; +DROP TABLE t401 ; +DROP TABLE t402 ; +DROP TABLE t403 ; +DROP TABLE t404 ; +DROP TABLE t405 ; +DROP TABLE t406 ; +DROP TABLE t407 ; +DROP TABLE t408 ; +DROP TABLE t409 ; +DROP TABLE t410 ; +DROP TABLE t411 ; +DROP TABLE t412 ; +DROP TABLE t413 ; +DROP TABLE t414 ; +DROP TABLE t415 ; +DROP TABLE t416 ; +DROP TABLE t417 ; +DROP TABLE t418 ; +DROP TABLE t419 ; +DROP TABLE t420 ; +DROP TABLE t421 ; +DROP TABLE t422 ; +DROP TABLE t423 ; +DROP TABLE t424 ; +DROP TABLE t425 ; +DROP TABLE t426 ; +DROP TABLE t427 ; +DROP TABLE t428 ; +DROP TABLE t429 ; +DROP TABLE t430 ; +DROP TABLE t431 ; +DROP TABLE t432 ; +DROP TABLE t433 ; +DROP TABLE t434 ; +DROP TABLE t435 ; +DROP TABLE t436 ; +DROP TABLE t437 ; +DROP TABLE t438 ; +DROP TABLE t439 ; +DROP TABLE t440 ; +DROP TABLE t441 ; +DROP TABLE t442 ; +DROP TABLE t443 ; +DROP TABLE t444 ; +DROP TABLE t445 ; +DROP TABLE t446 ; +DROP TABLE t447 ; +DROP TABLE t448 ; +DROP TABLE t449 ; +DROP TABLE t450 ; +DROP TABLE t451 ; +DROP TABLE t452 ; +DROP TABLE t453 ; +DROP TABLE t454 ; +DROP TABLE t455 ; +DROP TABLE t456 ; +DROP TABLE t457 ; +DROP TABLE t458 ; +DROP TABLE t459 ; +DROP TABLE t460 ; +DROP TABLE t461 ; +DROP TABLE t462 ; +DROP TABLE t463 ; +DROP TABLE t464 ; +DROP TABLE t465 ; +DROP TABLE t466 ; +DROP TABLE t467 ; +DROP TABLE t468 ; +DROP TABLE t469 ; +DROP TABLE t470 ; +DROP TABLE t471 ; +DROP TABLE t472 ; +DROP TABLE t473 ; +DROP TABLE t474 ; +DROP TABLE t475 ; +DROP TABLE t476 ; +DROP TABLE t477 ; +DROP TABLE t478 ; +DROP TABLE t479 ; +DROP TABLE t480 ; +DROP TABLE t481 ; +DROP TABLE t482 ; +DROP TABLE t483 ; +DROP TABLE t484 ; +DROP TABLE t485 ; +DROP TABLE t486 ; +DROP TABLE t487 ; +DROP TABLE t488 ; +DROP TABLE t489 ; +DROP TABLE t490 ; +DROP TABLE t491 ; +DROP TABLE t492 ; +DROP TABLE t493 ; +DROP TABLE t494 ; +DROP TABLE t495 ; +DROP TABLE t496 ; +DROP TABLE t497 ; +DROP TABLE t498 ; +DROP TABLE t499 ; +DROP TABLE t500 ; +DROP TABLE t501 ; +DROP TABLE t502 ; +DROP TABLE t503 ; +DROP TABLE t504 ; +DROP TABLE t505 ; +DROP TABLE t506 ; +DROP TABLE t507 ; +DROP TABLE t508 ; +DROP TABLE t509 ; +DROP TABLE t510 ; +DROP TABLE t511 ; +DROP TABLE t512 ; +DROP TABLE t513 ; +DROP TABLE t514 ; +DROP TABLE t515 ; +DROP TABLE t516 ; +DROP TABLE t517 ; +DROP TABLE t518 ; +DROP TABLE t519 ; +DROP TABLE t520 ; +DROP TABLE t521 ; +DROP TABLE t522 ; +DROP TABLE t523 ; +DROP TABLE t524 ; +DROP TABLE t525 ; +DROP TABLE t526 ; +DROP TABLE t527 ; +DROP TABLE t528 ; +DROP TABLE t529 ; +DROP TABLE t530 ; +DROP TABLE t531 ; +DROP TABLE t532 ; +DROP TABLE t533 ; +DROP TABLE t534 ; +DROP TABLE t535 ; +DROP TABLE t536 ; +DROP TABLE t537 ; +DROP TABLE t538 ; +DROP TABLE t539 ; +DROP TABLE t540 ; +DROP TABLE t541 ; +DROP TABLE t542 ; +DROP TABLE t543 ; +DROP TABLE t544 ; +DROP TABLE t545 ; +DROP TABLE t546 ; +DROP TABLE t547 ; +DROP TABLE t548 ; +DROP TABLE t549 ; +DROP TABLE t550 ; +DROP TABLE t551 ; +DROP TABLE t552 ; +DROP TABLE t553 ; +DROP TABLE t554 ; +DROP TABLE t555 ; +DROP TABLE t556 ; +DROP TABLE t557 ; +DROP TABLE t558 ; +DROP TABLE t559 ; +DROP TABLE t560 ; +DROP TABLE t561 ; +DROP TABLE t562 ; +DROP TABLE t563 ; +DROP TABLE t564 ; +DROP TABLE t565 ; +DROP TABLE t566 ; +DROP TABLE t567 ; +DROP TABLE t568 ; +DROP TABLE t569 ; +DROP TABLE t570 ; +DROP TABLE t571 ; +DROP TABLE t572 ; +DROP TABLE t573 ; +DROP TABLE t574 ; +DROP TABLE t575 ; +DROP TABLE t576 ; +DROP TABLE t577 ; +DROP TABLE t578 ; +DROP TABLE t579 ; +DROP TABLE t580 ; +DROP TABLE t581 ; +DROP TABLE t582 ; +DROP TABLE t583 ; +DROP TABLE t584 ; +DROP TABLE t585 ; +DROP TABLE t586 ; +DROP TABLE t587 ; +DROP TABLE t588 ; +DROP TABLE t589 ; +DROP TABLE t590 ; +DROP TABLE t591 ; +DROP TABLE t592 ; +DROP TABLE t593 ; +DROP TABLE t594 ; +DROP TABLE t595 ; +DROP TABLE t596 ; +DROP TABLE t597 ; +DROP TABLE t598 ; +DROP TABLE t599 ; +DROP TABLE t600 ; +DROP TABLE t601 ; +DROP TABLE t602 ; +DROP TABLE t603 ; +DROP TABLE t604 ; +DROP TABLE t605 ; +DROP TABLE t606 ; +DROP TABLE t607 ; +DROP TABLE t608 ; +DROP TABLE t609 ; +DROP TABLE t610 ; +DROP TABLE t611 ; +DROP TABLE t612 ; +DROP TABLE t613 ; +DROP TABLE t614 ; +DROP TABLE t615 ; +DROP TABLE t616 ; +DROP TABLE t617 ; +DROP TABLE t618 ; +DROP TABLE t619 ; +DROP TABLE t620 ; +DROP TABLE t621 ; +DROP TABLE t622 ; +DROP TABLE t623 ; +DROP TABLE t624 ; +DROP TABLE t625 ; +DROP TABLE t626 ; +DROP TABLE t627 ; +DROP TABLE t628 ; +DROP TABLE t629 ; +DROP TABLE t630 ; +DROP TABLE t631 ; +DROP TABLE t632 ; +DROP TABLE t633 ; +DROP TABLE t634 ; +DROP TABLE t635 ; +DROP TABLE t636 ; +DROP TABLE t637 ; +DROP TABLE t638 ; +DROP TABLE t639 ; +DROP TABLE t640 ; +DROP TABLE t641 ; +DROP TABLE t642 ; +DROP TABLE t643 ; +DROP TABLE t644 ; +DROP TABLE t645 ; +DROP TABLE t646 ; +DROP TABLE t647 ; +DROP TABLE t648 ; +DROP TABLE t649 ; +DROP TABLE t650 ; +DROP TABLE t651 ; +DROP TABLE t652 ; +DROP TABLE t653 ; +DROP TABLE t654 ; +DROP TABLE t655 ; +DROP TABLE t656 ; +DROP TABLE t657 ; +DROP TABLE t658 ; +DROP TABLE t659 ; +DROP TABLE t660 ; +DROP TABLE t661 ; +DROP TABLE t662 ; +DROP TABLE t663 ; +DROP TABLE t664 ; +DROP TABLE t665 ; +DROP TABLE t666 ; +DROP TABLE t667 ; +DROP TABLE t668 ; +DROP TABLE t669 ; +DROP TABLE t670 ; +DROP TABLE t671 ; +DROP TABLE t672 ; +DROP TABLE t673 ; +DROP TABLE t674 ; +DROP TABLE t675 ; +DROP TABLE t676 ; +DROP TABLE t677 ; +DROP TABLE t678 ; +DROP TABLE t679 ; +DROP TABLE t680 ; +DROP TABLE t681 ; +DROP TABLE t682 ; +DROP TABLE t683 ; +DROP TABLE t684 ; +DROP TABLE t685 ; +DROP TABLE t686 ; +DROP TABLE t687 ; +DROP TABLE t688 ; +DROP TABLE t689 ; +DROP TABLE t690 ; +DROP TABLE t691 ; +DROP TABLE t692 ; +DROP TABLE t693 ; +DROP TABLE t694 ; +DROP TABLE t695 ; +DROP TABLE t696 ; +DROP TABLE t697 ; +DROP TABLE t698 ; +DROP TABLE t699 ; +DROP TABLE t700 ; +DROP TABLE t701 ; +DROP TABLE t702 ; +DROP TABLE t703 ; +DROP TABLE t704 ; +DROP TABLE t705 ; +DROP TABLE t706 ; +DROP TABLE t707 ; +DROP TABLE t708 ; +DROP TABLE t709 ; +DROP TABLE t710 ; +DROP TABLE t711 ; +DROP TABLE t712 ; +DROP TABLE t713 ; +DROP TABLE t714 ; +DROP TABLE t715 ; +DROP TABLE t716 ; +DROP TABLE t717 ; +DROP TABLE t718 ; +DROP TABLE t719 ; +DROP TABLE t720 ; +DROP TABLE t721 ; +DROP TABLE t722 ; +DROP TABLE t723 ; +DROP TABLE t724 ; +DROP TABLE t725 ; +DROP TABLE t726 ; +DROP TABLE t727 ; +DROP TABLE t728 ; +DROP TABLE t729 ; +DROP TABLE t730 ; +DROP TABLE t731 ; +DROP TABLE t732 ; +DROP TABLE t733 ; +DROP TABLE t734 ; +DROP TABLE t735 ; +DROP TABLE t736 ; +DROP TABLE t737 ; +DROP TABLE t738 ; +DROP TABLE t739 ; +DROP TABLE t740 ; +DROP TABLE t741 ; +DROP TABLE t742 ; +DROP TABLE t743 ; +DROP TABLE t744 ; +DROP TABLE t745 ; +DROP TABLE t746 ; +DROP TABLE t747 ; +DROP TABLE t748 ; +DROP TABLE t749 ; +DROP TABLE t750 ; +DROP TABLE t751 ; +DROP TABLE t752 ; +DROP TABLE t753 ; +DROP TABLE t754 ; +DROP TABLE t755 ; +DROP TABLE t756 ; +DROP TABLE t757 ; +DROP TABLE t758 ; +DROP TABLE t759 ; +DROP TABLE t760 ; +DROP TABLE t761 ; +DROP TABLE t762 ; +DROP TABLE t763 ; +DROP TABLE t764 ; +DROP TABLE t765 ; +DROP TABLE t766 ; +DROP TABLE t767 ; +DROP TABLE t768 ; +DROP TABLE t769 ; +DROP TABLE t770 ; +DROP TABLE t771 ; +DROP TABLE t772 ; +DROP TABLE t773 ; +DROP TABLE t774 ; +DROP TABLE t775 ; +DROP TABLE t776 ; +DROP TABLE t777 ; +DROP TABLE t778 ; +DROP TABLE t779 ; +DROP TABLE t780 ; +DROP TABLE t781 ; +DROP TABLE t782 ; +DROP TABLE t783 ; +DROP TABLE t784 ; +DROP TABLE t785 ; +DROP TABLE t786 ; +DROP TABLE t787 ; +DROP TABLE t788 ; +DROP TABLE t789 ; +DROP TABLE t790 ; +DROP TABLE t791 ; +DROP TABLE t792 ; +DROP TABLE t793 ; +DROP TABLE t794 ; +DROP TABLE t795 ; +DROP TABLE t796 ; +DROP TABLE t797 ; +DROP TABLE t798 ; +DROP TABLE t799 ; +DROP TABLE t800 ; +DROP TABLE t801 ; +DROP TABLE t802 ; +DROP TABLE t803 ; +DROP TABLE t804 ; +DROP TABLE t805 ; +DROP TABLE t806 ; +DROP TABLE t807 ; +DROP TABLE t808 ; +DROP TABLE t809 ; +DROP TABLE t810 ; +DROP TABLE t811 ; +DROP TABLE t812 ; +DROP TABLE t813 ; +DROP TABLE t814 ; +DROP TABLE t815 ; +DROP TABLE t816 ; +DROP TABLE t817 ; +DROP TABLE t818 ; +DROP TABLE t819 ; +DROP TABLE t820 ; +DROP TABLE t821 ; +DROP TABLE t822 ; +DROP TABLE t823 ; +DROP TABLE t824 ; +DROP TABLE t825 ; +DROP TABLE t826 ; +DROP TABLE t827 ; +DROP TABLE t828 ; +DROP TABLE t829 ; +DROP TABLE t830 ; +DROP TABLE t831 ; +DROP TABLE t832 ; +DROP TABLE t833 ; +DROP TABLE t834 ; +DROP TABLE t835 ; +DROP TABLE t836 ; +DROP TABLE t837 ; +DROP TABLE t838 ; +DROP TABLE t839 ; +DROP TABLE t840 ; +DROP TABLE t841 ; +DROP TABLE t842 ; +DROP TABLE t843 ; +DROP TABLE t844 ; +DROP TABLE t845 ; +DROP TABLE t846 ; +DROP TABLE t847 ; +DROP TABLE t848 ; +DROP TABLE t849 ; +DROP TABLE t850 ; +DROP TABLE t851 ; +DROP TABLE t852 ; +DROP TABLE t853 ; +DROP TABLE t854 ; +DROP TABLE t855 ; +DROP TABLE t856 ; +DROP TABLE t857 ; +DROP TABLE t858 ; +DROP TABLE t859 ; +DROP TABLE t860 ; +DROP TABLE t861 ; +DROP TABLE t862 ; +DROP TABLE t863 ; +DROP TABLE t864 ; +DROP TABLE t865 ; +DROP TABLE t866 ; +DROP TABLE t867 ; +DROP TABLE t868 ; +DROP TABLE t869 ; +DROP TABLE t870 ; +DROP TABLE t871 ; +DROP TABLE t872 ; +DROP TABLE t873 ; +DROP TABLE t874 ; +DROP TABLE t875 ; +DROP TABLE t876 ; +DROP TABLE t877 ; +DROP TABLE t878 ; +DROP TABLE t879 ; +DROP TABLE t880 ; +DROP TABLE t881 ; +DROP TABLE t882 ; +DROP TABLE t883 ; +DROP TABLE t884 ; +DROP TABLE t885 ; +DROP TABLE t886 ; +DROP TABLE t887 ; +DROP TABLE t888 ; +DROP TABLE t889 ; +DROP TABLE t890 ; +DROP TABLE t891 ; +DROP TABLE t892 ; +DROP TABLE t893 ; +DROP TABLE t894 ; +DROP TABLE t895 ; +DROP TABLE t896 ; +DROP TABLE t897 ; +DROP TABLE t898 ; +DROP TABLE t899 ; +DROP TABLE t900 ; +DROP TABLE t901 ; +DROP TABLE t902 ; +DROP TABLE t903 ; +DROP TABLE t904 ; +DROP TABLE t905 ; +DROP TABLE t906 ; +DROP TABLE t907 ; +DROP TABLE t908 ; +DROP TABLE t909 ; +DROP TABLE t910 ; +DROP TABLE t911 ; +DROP TABLE t912 ; +DROP TABLE t913 ; +DROP TABLE t914 ; +DROP TABLE t915 ; +DROP TABLE t916 ; +DROP TABLE t917 ; +DROP TABLE t918 ; +DROP TABLE t919 ; +DROP TABLE t920 ; +DROP TABLE t921 ; +DROP TABLE t922 ; +DROP TABLE t923 ; +DROP TABLE t924 ; +DROP TABLE t925 ; +DROP TABLE t926 ; +DROP TABLE t927 ; +DROP TABLE t928 ; +DROP TABLE t929 ; +DROP TABLE t930 ; +DROP TABLE t931 ; +DROP TABLE t932 ; +DROP TABLE t933 ; +DROP TABLE t934 ; +DROP TABLE t935 ; +DROP TABLE t936 ; +DROP TABLE t937 ; +DROP TABLE t938 ; +DROP TABLE t939 ; +DROP TABLE t940 ; +DROP TABLE t941 ; +DROP TABLE t942 ; +DROP TABLE t943 ; +DROP TABLE t944 ; +DROP TABLE t945 ; +DROP TABLE t946 ; +DROP TABLE t947 ; +DROP TABLE t948 ; +DROP TABLE t949 ; +DROP TABLE t950 ; +DROP TABLE t951 ; +DROP TABLE t952 ; +DROP TABLE t953 ; +DROP TABLE t954 ; +DROP TABLE t955 ; +DROP TABLE t956 ; +DROP TABLE t957 ; +DROP TABLE t958 ; +DROP TABLE t959 ; +DROP TABLE t960 ; +DROP TABLE t961 ; +DROP TABLE t962 ; +DROP TABLE t963 ; +DROP TABLE t964 ; +DROP TABLE t965 ; +DROP TABLE t966 ; +DROP TABLE t967 ; +DROP TABLE t968 ; +DROP TABLE t969 ; +DROP TABLE t970 ; +DROP TABLE t971 ; +DROP TABLE t972 ; +DROP TABLE t973 ; +DROP TABLE t974 ; +DROP TABLE t975 ; +DROP TABLE t976 ; +DROP TABLE t977 ; +DROP TABLE t978 ; +DROP TABLE t979 ; +DROP TABLE t980 ; +DROP TABLE t981 ; +DROP TABLE t982 ; +DROP TABLE t983 ; +DROP TABLE t984 ; +DROP TABLE t985 ; +DROP TABLE t986 ; +DROP TABLE t987 ; +DROP TABLE t988 ; +DROP TABLE t989 ; +DROP TABLE t990 ; +DROP TABLE t991 ; +DROP TABLE t992 ; +DROP TABLE t993 ; +DROP TABLE t994 ; +DROP TABLE t995 ; +DROP TABLE t996 ; +DROP TABLE t997 ; +DROP TABLE t998 ; +DROP TABLE t999 ; +DROP TABLE t1000 ; diff --git a/mysql-test/suite/engines/funcs/r/date_function.result b/mysql-test/suite/engines/funcs/r/date_function.result new file mode 100644 index 00000000..3eea9330 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/date_function.result @@ -0,0 +1,749 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DATE(c1) FROM t3; +DATE(c1) +1000-01-01 +1999-12-31 +2000-01-01 +2006-12-25 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DATE(c1) FROM t3; +DATE(c1) +1000-01-01 +1999-12-31 +2000-01-01 +2006-12-25 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DATE(c1) FROM t3; +DATE(c1) +0000-00-00 +1999-12-31 +2000-01-01 +2006-12-25 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYNAME(c1) FROM t3; +DAYNAME(c1) +Wednesday +Friday +Saturday +Monday +Friday +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYNAME(c1) FROM t3; +DAYNAME(c1) +Wednesday +Friday +Saturday +Monday +Friday +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYNAME(c1) FROM t3; +DAYNAME(c1) +NULL +Friday +Saturday +Monday +Friday +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFMONTH(c1) FROM t3; +DAYOFMONTH(c1) +1 +31 +1 +25 +29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFMONTH(c1) FROM t3; +DAYOFMONTH(c1) +1 +31 +1 +25 +29 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFMONTH(c1) FROM t3; +DAYOFMONTH(c1) +0 +31 +1 +25 +29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFWEEK(c1) FROM t3; +DAYOFWEEK(c1) +4 +6 +7 +2 +6 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFWEEK(c1) FROM t3; +DAYOFWEEK(c1) +4 +6 +7 +2 +6 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFWEEK(c1) FROM t3; +DAYOFWEEK(c1) +NULL +6 +7 +2 +6 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFYEAR(c1) FROM t3; +DAYOFYEAR(c1) +1 +365 +1 +359 +60 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFYEAR(c1) FROM t3; +DAYOFYEAR(c1) +1 +365 +1 +359 +60 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT DAYOFYEAR(c1) FROM t3; +DAYOFYEAR(c1) +NULL +365 +1 +359 +60 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT FROM_DAYS(c1) FROM t3; +FROM_DAYS(c1) +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT FROM_DAYS(c1) FROM t3; +FROM_DAYS(c1) +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT FROM_DAYS(c1) FROM t3; +FROM_DAYS(c1) +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +0000-00-00 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT LAST_DAY(c1) FROM t3; +LAST_DAY(c1) +1000-01-31 +1999-12-31 +2000-01-31 +2006-12-31 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT LAST_DAY(c1) FROM t3; +LAST_DAY(c1) +1000-01-31 +1999-12-31 +2000-01-31 +2006-12-31 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT LAST_DAY(c1) FROM t3; +LAST_DAY(c1) +NULL +1999-12-31 +2000-01-31 +2006-12-31 +2008-02-29 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTH(c1) FROM t3; +MONTH(c1) +1 +12 +1 +12 +2 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTH(c1) FROM t3; +MONTH(c1) +1 +12 +1 +12 +2 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTH(c1) FROM t3; +MONTH(c1) +0 +12 +1 +12 +2 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTHNAME(c1) FROM t3; +MONTHNAME(c1) +January +December +January +December +February +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTHNAME(c1) FROM t3; +MONTHNAME(c1) +January +December +January +December +February +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT MONTHNAME(c1) FROM t3; +MONTHNAME(c1) +NULL +December +January +December +February +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT QUARTER(c1) FROM t3; +QUARTER(c1) +1 +4 +1 +4 +1 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT QUARTER(c1) FROM t3; +QUARTER(c1) +1 +4 +1 +4 +1 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT QUARTER(c1) FROM t3; +QUARTER(c1) +0 +4 +1 +4 +1 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TIMESTAMP(c1) FROM t3; +TIMESTAMP(c1) +1000-01-01 00:00:00 +1999-12-31 00:00:00 +2000-01-01 00:00:00 +2006-12-25 00:00:00 +2008-02-29 00:00:00 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TIMESTAMP(c1) FROM t3; +TIMESTAMP(c1) +1000-01-01 00:00:00 +1999-12-31 00:00:00 +2000-01-01 00:00:00 +2006-12-25 00:00:00 +2008-02-29 00:00:00 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TIMESTAMP(c1) FROM t3; +TIMESTAMP(c1) +0000-00-00 00:00:00 +1999-12-31 00:00:00 +2000-01-01 00:00:00 +2006-12-25 00:00:00 +2008-02-29 00:00:00 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TO_DAYS(c1) FROM t3; +TO_DAYS(c1) +365243 +730484 +730485 +733035 +733466 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TO_DAYS(c1) FROM t3; +TO_DAYS(c1) +365243 +730484 +730485 +733035 +733466 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT TO_DAYS(c1) FROM t3; +TO_DAYS(c1) +NULL +730484 +730485 +733035 +733466 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEK(c1) FROM t3; +WEEK(c1) +0 +52 +0 +52 +8 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEK(c1) FROM t3; +WEEK(c1) +0 +52 +0 +52 +8 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEK(c1) FROM t3; +WEEK(c1) +NULL +52 +0 +52 +8 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKDAY(c1) FROM t3; +WEEKDAY(c1) +2 +4 +5 +0 +4 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKDAY(c1) FROM t3; +WEEKDAY(c1) +2 +4 +5 +0 +4 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKDAY(c1) FROM t3; +WEEKDAY(c1) +NULL +4 +5 +0 +4 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKOFYEAR(c1) FROM t3; +WEEKOFYEAR(c1) +1 +52 +52 +52 +9 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKOFYEAR(c1) FROM t3; +WEEKOFYEAR(c1) +1 +52 +52 +52 +9 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT WEEKOFYEAR(c1) FROM t3; +WEEKOFYEAR(c1) +NULL +52 +52 +52 +9 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEAR(c1) FROM t3; +YEAR(c1) +1000 +1999 +2000 +2006 +2008 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEAR(c1) FROM t3; +YEAR(c1) +1000 +1999 +2000 +2006 +2008 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEAR(c1) FROM t3; +YEAR(c1) +0 +1999 +2000 +2006 +2008 +DROP TABLE t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEARWEEK(c1) FROM t3; +YEARWEEK(c1) +99952 +199952 +199952 +200652 +200808 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01'); +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEARWEEK(c1) FROM t3; +YEARWEEK(c1) +99952 +199952 +199952 +200652 +200808 +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31'); +INSERT INTO t3 VALUES('2000-01-01'); +INSERT INTO t3 VALUES('2006-12-25'); +INSERT INTO t3 VALUES('2008-02-29'); +SELECT YEARWEEK(c1) FROM t3; +YEARWEEK(c1) +NULL +199952 +199952 +200652 +200808 +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/datetime_function.result b/mysql-test/suite/engines/funcs/r/datetime_function.result new file mode 100644 index 00000000..57076939 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/datetime_function.result @@ -0,0 +1,39 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 DATE NOT NULL); +INSERT INTO t3 VALUES('1000-01-01 00:00:00'); +INSERT INTO t3 VALUES('1999-12-31 23:59:59'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t3 VALUES('2000-01-01 00:00:00'); +INSERT INTO t3 VALUES('2008-02-29 13:13:13'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +DROP TABLE t3; +CREATE TABLE t3(c1 DATETIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01 00:00:00'); +INSERT INTO t3 VALUES('1999-12-31 23:59:59'); +INSERT INTO t3 VALUES('2000-01-01 00:00:00'); +INSERT INTO t3 VALUES('2008-02-29 13:13:13'); +DROP TABLE t3; +CREATE TABLE t3(c1 TIMESTAMP NOT NULL); +INSERT IGNORE INTO t3 VALUES('1000-01-01 00:00:00'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31 23:59:59'); +INSERT INTO t3 VALUES('2000-01-01 00:00:00'); +INSERT INTO t3 VALUES('2008-02-29 13:13:13'); +DROP TABLE t3; +CREATE TABLE t3(c1 TIME NOT NULL); +INSERT INTO t3 VALUES('1000-01-01 00:00:00'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t3 VALUES('1999-12-31 23:59:59'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t3 VALUES('2000-01-01 00:00:00'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t3 VALUES('2008-02-29 13:13:13'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/db_alter_character_set.result b/mysql-test/suite/engines/funcs/r/db_alter_character_set.result new file mode 100644 index 00000000..252b7d40 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_alter_character_set.result @@ -0,0 +1,463 @@ +DROP DATABASE IF EXISTS d8; +SHOW CHARACTER SET; +Charset Description Default collation Maxlen +big5 Big5 Traditional Chinese big5_chinese_ci 2 +dec8 DEC West European dec8_swedish_ci 1 +cp850 DOS West European cp850_general_ci 1 +hp8 HP West European hp8_english_ci 1 +koi8r KOI8-R Relcom Russian koi8r_general_ci 1 +latin1 cp1252 West European latin1_swedish_ci 1 +latin2 ISO 8859-2 Central European latin2_general_ci 1 +swe7 7bit Swedish swe7_swedish_ci 1 +ascii US ASCII ascii_general_ci 1 +ujis EUC-JP Japanese ujis_japanese_ci 3 +sjis Shift-JIS Japanese sjis_japanese_ci 2 +hebrew ISO 8859-8 Hebrew hebrew_general_ci 1 +tis620 TIS620 Thai tis620_thai_ci 1 +euckr EUC-KR Korean euckr_korean_ci 2 +koi8u KOI8-U Ukrainian koi8u_general_ci 1 +gb2312 GB2312 Simplified Chinese gb2312_chinese_ci 2 +greek ISO 8859-7 Greek greek_general_ci 1 +cp1250 Windows Central European cp1250_general_ci 1 +gbk GBK Simplified Chinese gbk_chinese_ci 2 +latin5 ISO 8859-9 Turkish latin5_turkish_ci 1 +armscii8 ARMSCII-8 Armenian armscii8_general_ci 1 +utf8mb3 UTF-8 Unicode utf8mb3_general_ci 3 +ucs2 UCS-2 Unicode ucs2_general_ci 2 +cp866 DOS Russian cp866_general_ci 1 +keybcs2 DOS Kamenicky Czech-Slovak keybcs2_general_ci 1 +macce Mac Central European macce_general_ci 1 +macroman Mac West European macroman_general_ci 1 +cp852 DOS Central European cp852_general_ci 1 +latin7 ISO 8859-13 Baltic latin7_general_ci 1 +utf8mb4 UTF-8 Unicode utf8mb4_general_ci 4 +cp1251 Windows Cyrillic cp1251_general_ci 1 +utf16 UTF-16 Unicode utf16_general_ci 4 +utf16le UTF-16LE Unicode utf16le_general_ci 4 +cp1256 Windows Arabic cp1256_general_ci 1 +cp1257 Windows Baltic cp1257_general_ci 1 +utf32 UTF-32 Unicode utf32_general_ci 4 +binary Binary pseudo charset binary 1 +geostd8 GEOSTD8 Georgian geostd8_general_ci 1 +cp932 SJIS for Windows Japanese cp932_japanese_ci 2 +eucjpms UJIS for Windows Japanese eucjpms_japanese_ci 3 +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 DEFAULT CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 DEFAULT CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d8 DEFAULT CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 DEFAULT CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 DEFAULT CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; +CREATE DATABASE d8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 latin1 latin1_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d8 DEFAULT CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d8 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d8; diff --git a/mysql-test/suite/engines/funcs/r/db_alter_character_set_collate.result b/mysql-test/suite/engines/funcs/r/db_alter_character_set_collate.result new file mode 100644 index 00000000..b6ba5d6e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_alter_character_set_collate.result @@ -0,0 +1,127 @@ +DROP DATABASE IF EXISTS d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d11 CHARACTER SET utf8 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d11 CHARACTER SET latin2 COLLATE latin2_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 latin2 latin2_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d11 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 cp1250 cp1250_croatian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d11 CHARACTER SET utf8 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d11 CHARACTER SET latin2 COLLATE latin2_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 latin2 latin2_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; +CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d11 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d11 cp1250 cp1250_croatian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d11; diff --git a/mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result b/mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result new file mode 100644 index 00000000..ea092d12 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result @@ -0,0 +1,677 @@ +DROP DATABASE IF EXISTS d9; +SHOW COLLATION; +Collation Charset Id Default Compiled Sortlen +big5_chinese_ci big5 1 Yes # # +big5_bin big5 84 # # +big5_chinese_nopad_ci big5 1025 # # +big5_nopad_bin big5 1108 # # +dec8_swedish_ci dec8 3 Yes # # +dec8_bin dec8 69 # # +dec8_swedish_nopad_ci dec8 1027 # # +dec8_nopad_bin dec8 1093 # # +cp850_general_ci cp850 4 Yes # # +cp850_bin cp850 80 # # +cp850_general_nopad_ci cp850 1028 # # +cp850_nopad_bin cp850 1104 # # +hp8_english_ci hp8 6 Yes # # +hp8_bin hp8 72 # # +hp8_english_nopad_ci hp8 1030 # # +hp8_nopad_bin hp8 1096 # # +koi8r_general_ci koi8r 7 Yes # # +koi8r_bin koi8r 74 # # +koi8r_general_nopad_ci koi8r 1031 # # +koi8r_nopad_bin koi8r 1098 # # +latin1_german1_ci latin1 5 # # +latin1_swedish_ci latin1 8 Yes # # +latin1_danish_ci latin1 15 # # +latin1_german2_ci latin1 31 # # +latin1_bin latin1 47 # # +latin1_general_ci latin1 48 # # +latin1_general_cs latin1 49 # # +latin1_spanish_ci latin1 94 # # +latin1_swedish_nopad_ci latin1 1032 # # +latin1_nopad_bin latin1 1071 # # +latin2_czech_cs latin2 2 # # +latin2_general_ci latin2 9 Yes # # +latin2_hungarian_ci latin2 21 # # +latin2_croatian_ci latin2 27 # # +latin2_bin latin2 77 # # +latin2_general_nopad_ci latin2 1033 # # +latin2_nopad_bin latin2 1101 # # +swe7_swedish_ci swe7 10 Yes # # +swe7_bin swe7 82 # # +swe7_swedish_nopad_ci swe7 1034 # # +swe7_nopad_bin swe7 1106 # # +ascii_general_ci ascii 11 Yes # # +ascii_bin ascii 65 # # +ascii_general_nopad_ci ascii 1035 # # +ascii_nopad_bin ascii 1089 # # +ujis_japanese_ci ujis 12 Yes # # +ujis_bin ujis 91 # # +ujis_japanese_nopad_ci ujis 1036 # # +ujis_nopad_bin ujis 1115 # # +sjis_japanese_ci sjis 13 Yes # # +sjis_bin sjis 88 # # +sjis_japanese_nopad_ci sjis 1037 # # +sjis_nopad_bin sjis 1112 # # +hebrew_general_ci hebrew 16 Yes # # +hebrew_bin hebrew 71 # # +hebrew_general_nopad_ci hebrew 1040 # # +hebrew_nopad_bin hebrew 1095 # # +tis620_thai_ci tis620 18 Yes # # +tis620_bin tis620 89 # # +tis620_thai_nopad_ci tis620 1042 # # +tis620_nopad_bin tis620 1113 # # +euckr_korean_ci euckr 19 Yes # # +euckr_bin euckr 85 # # +euckr_korean_nopad_ci euckr 1043 # # +euckr_nopad_bin euckr 1109 # # +koi8u_general_ci koi8u 22 Yes # # +koi8u_bin koi8u 75 # # +koi8u_general_nopad_ci koi8u 1046 # # +koi8u_nopad_bin koi8u 1099 # # +gb2312_chinese_ci gb2312 24 Yes # # +gb2312_bin gb2312 86 # # +gb2312_chinese_nopad_ci gb2312 1048 # # +gb2312_nopad_bin gb2312 1110 # # +greek_general_ci greek 25 Yes # # +greek_bin greek 70 # # +greek_general_nopad_ci greek 1049 # # +greek_nopad_bin greek 1094 # # +cp1250_general_ci cp1250 26 Yes # # +cp1250_czech_cs cp1250 34 # # +cp1250_croatian_ci cp1250 44 # # +cp1250_bin cp1250 66 # # +cp1250_polish_ci cp1250 99 # # +cp1250_general_nopad_ci cp1250 1050 # # +cp1250_nopad_bin cp1250 1090 # # +gbk_chinese_ci gbk 28 Yes # # +gbk_bin gbk 87 # # +gbk_chinese_nopad_ci gbk 1052 # # +gbk_nopad_bin gbk 1111 # # +latin5_turkish_ci latin5 30 Yes # # +latin5_bin latin5 78 # # +latin5_turkish_nopad_ci latin5 1054 # # +latin5_nopad_bin latin5 1102 # # +armscii8_general_ci armscii8 32 Yes # # +armscii8_bin armscii8 64 # # +armscii8_general_nopad_ci armscii8 1056 # # +armscii8_nopad_bin armscii8 1088 # # +utf8mb3_general_ci utf8mb3 33 Yes # # +utf8mb3_bin utf8mb3 83 # # +utf8mb3_unicode_ci utf8mb3 192 # # +utf8mb3_icelandic_ci utf8mb3 193 # # +utf8mb3_latvian_ci utf8mb3 194 # # +utf8mb3_romanian_ci utf8mb3 195 # # +utf8mb3_slovenian_ci utf8mb3 196 # # +utf8mb3_polish_ci utf8mb3 197 # # +utf8mb3_estonian_ci utf8mb3 198 # # +utf8mb3_spanish_ci utf8mb3 199 # # +utf8mb3_swedish_ci utf8mb3 200 # # +utf8mb3_turkish_ci utf8mb3 201 # # +utf8mb3_czech_ci utf8mb3 202 # # +utf8mb3_danish_ci utf8mb3 203 # # +utf8mb3_lithuanian_ci utf8mb3 204 # # +utf8mb3_slovak_ci utf8mb3 205 # # +utf8mb3_spanish2_ci utf8mb3 206 # # +utf8mb3_roman_ci utf8mb3 207 # # +utf8mb3_persian_ci utf8mb3 208 # # +utf8mb3_esperanto_ci utf8mb3 209 # # +utf8mb3_hungarian_ci utf8mb3 210 # # +utf8mb3_sinhala_ci utf8mb3 211 # # +utf8mb3_german2_ci utf8mb3 212 # # +utf8mb3_croatian_mysql561_ci utf8mb3 213 # # +utf8mb3_unicode_520_ci utf8mb3 214 # # +utf8mb3_vietnamese_ci utf8mb3 215 # # +utf8mb3_general_mysql500_ci utf8mb3 223 # # +utf8mb3_croatian_ci utf8mb3 576 # # +utf8mb3_myanmar_ci utf8mb3 577 # # +utf8mb3_thai_520_w2 utf8mb3 578 # # +utf8mb3_general_nopad_ci utf8mb3 1057 # # +utf8mb3_nopad_bin utf8mb3 1107 # # +utf8mb3_unicode_nopad_ci utf8mb3 1216 # # +utf8mb3_unicode_520_nopad_ci utf8mb3 1238 # # +ucs2_general_ci ucs2 35 Yes # # +ucs2_bin ucs2 90 # # +ucs2_unicode_ci ucs2 128 # # +ucs2_icelandic_ci ucs2 129 # # +ucs2_latvian_ci ucs2 130 # # +ucs2_romanian_ci ucs2 131 # # +ucs2_slovenian_ci ucs2 132 # # +ucs2_polish_ci ucs2 133 # # +ucs2_estonian_ci ucs2 134 # # +ucs2_spanish_ci ucs2 135 # # +ucs2_swedish_ci ucs2 136 # # +ucs2_turkish_ci ucs2 137 # # +ucs2_czech_ci ucs2 138 # # +ucs2_danish_ci ucs2 139 # # +ucs2_lithuanian_ci ucs2 140 # # +ucs2_slovak_ci ucs2 141 # # +ucs2_spanish2_ci ucs2 142 # # +ucs2_roman_ci ucs2 143 # # +ucs2_persian_ci ucs2 144 # # +ucs2_esperanto_ci ucs2 145 # # +ucs2_hungarian_ci ucs2 146 # # +ucs2_sinhala_ci ucs2 147 # # +ucs2_german2_ci ucs2 148 # # +ucs2_croatian_mysql561_ci ucs2 149 # # +ucs2_unicode_520_ci ucs2 150 # # +ucs2_vietnamese_ci ucs2 151 # # +ucs2_general_mysql500_ci ucs2 159 # # +ucs2_croatian_ci ucs2 640 # # +ucs2_myanmar_ci ucs2 641 # # +ucs2_thai_520_w2 ucs2 642 # # +ucs2_general_nopad_ci ucs2 1059 # # +ucs2_nopad_bin ucs2 1114 # # +ucs2_unicode_nopad_ci ucs2 1152 # # +ucs2_unicode_520_nopad_ci ucs2 1174 # # +cp866_general_ci cp866 36 Yes # # +cp866_bin cp866 68 # # +cp866_general_nopad_ci cp866 1060 # # +cp866_nopad_bin cp866 1092 # # +keybcs2_general_ci keybcs2 37 Yes # # +keybcs2_bin keybcs2 73 # # +keybcs2_general_nopad_ci keybcs2 1061 # # +keybcs2_nopad_bin keybcs2 1097 # # +macce_general_ci macce 38 Yes # # +macce_bin macce 43 # # +macce_general_nopad_ci macce 1062 # # +macce_nopad_bin macce 1067 # # +macroman_general_ci macroman 39 Yes # # +macroman_bin macroman 53 # # +macroman_general_nopad_ci macroman 1063 # # +macroman_nopad_bin macroman 1077 # # +cp852_general_ci cp852 40 Yes # # +cp852_bin cp852 81 # # +cp852_general_nopad_ci cp852 1064 # # +cp852_nopad_bin cp852 1105 # # +latin7_estonian_cs latin7 20 # # +latin7_general_ci latin7 41 Yes # # +latin7_general_cs latin7 42 # # +latin7_bin latin7 79 # # +latin7_general_nopad_ci latin7 1065 # # +latin7_nopad_bin latin7 1103 # # +utf8mb4_general_ci utf8mb4 45 Yes # # +utf8mb4_bin utf8mb4 46 # # +utf8mb4_unicode_ci utf8mb4 224 # # +utf8mb4_icelandic_ci utf8mb4 225 # # +utf8mb4_latvian_ci utf8mb4 226 # # +utf8mb4_romanian_ci utf8mb4 227 # # +utf8mb4_slovenian_ci utf8mb4 228 # # +utf8mb4_polish_ci utf8mb4 229 # # +utf8mb4_estonian_ci utf8mb4 230 # # +utf8mb4_spanish_ci utf8mb4 231 # # +utf8mb4_swedish_ci utf8mb4 232 # # +utf8mb4_turkish_ci utf8mb4 233 # # +utf8mb4_czech_ci utf8mb4 234 # # +utf8mb4_danish_ci utf8mb4 235 # # +utf8mb4_lithuanian_ci utf8mb4 236 # # +utf8mb4_slovak_ci utf8mb4 237 # # +utf8mb4_spanish2_ci utf8mb4 238 # # +utf8mb4_roman_ci utf8mb4 239 # # +utf8mb4_persian_ci utf8mb4 240 # # +utf8mb4_esperanto_ci utf8mb4 241 # # +utf8mb4_hungarian_ci utf8mb4 242 # # +utf8mb4_sinhala_ci utf8mb4 243 # # +utf8mb4_german2_ci utf8mb4 244 # # +utf8mb4_croatian_mysql561_ci utf8mb4 245 # # +utf8mb4_unicode_520_ci utf8mb4 246 # # +utf8mb4_vietnamese_ci utf8mb4 247 # # +utf8mb4_croatian_ci utf8mb4 608 # # +utf8mb4_myanmar_ci utf8mb4 609 # # +utf8mb4_thai_520_w2 utf8mb4 610 # # +utf8mb4_general_nopad_ci utf8mb4 1069 # # +utf8mb4_nopad_bin utf8mb4 1070 # # +utf8mb4_unicode_nopad_ci utf8mb4 1248 # # +utf8mb4_unicode_520_nopad_ci utf8mb4 1270 # # +uca1400_ai_ci NULL NULL NULL # # +uca1400_ai_cs NULL NULL NULL # # +uca1400_as_ci NULL NULL NULL # # +uca1400_as_cs NULL NULL NULL # # +uca1400_nopad_ai_ci NULL NULL NULL # # +uca1400_nopad_ai_cs NULL NULL NULL # # +uca1400_nopad_as_ci NULL NULL NULL # # +uca1400_nopad_as_cs NULL NULL NULL # # +uca1400_icelandic_ai_ci NULL NULL NULL # # +uca1400_icelandic_ai_cs NULL NULL NULL # # +uca1400_icelandic_as_ci NULL NULL NULL # # +uca1400_icelandic_as_cs NULL NULL NULL # # +uca1400_icelandic_nopad_ai_ci NULL NULL NULL # # +uca1400_icelandic_nopad_ai_cs NULL NULL NULL # # +uca1400_icelandic_nopad_as_ci NULL NULL NULL # # +uca1400_icelandic_nopad_as_cs NULL NULL NULL # # +uca1400_latvian_ai_ci NULL NULL NULL # # +uca1400_latvian_ai_cs NULL NULL NULL # # +uca1400_latvian_as_ci NULL NULL NULL # # +uca1400_latvian_as_cs NULL NULL NULL # # +uca1400_latvian_nopad_ai_ci NULL NULL NULL # # +uca1400_latvian_nopad_ai_cs NULL NULL NULL # # +uca1400_latvian_nopad_as_ci NULL NULL NULL # # +uca1400_latvian_nopad_as_cs NULL NULL NULL # # +uca1400_romanian_ai_ci NULL NULL NULL # # +uca1400_romanian_ai_cs NULL NULL NULL # # +uca1400_romanian_as_ci NULL NULL NULL # # +uca1400_romanian_as_cs NULL NULL NULL # # +uca1400_romanian_nopad_ai_ci NULL NULL NULL # # +uca1400_romanian_nopad_ai_cs NULL NULL NULL # # +uca1400_romanian_nopad_as_ci NULL NULL NULL # # +uca1400_romanian_nopad_as_cs NULL NULL NULL # # +uca1400_slovenian_ai_ci NULL NULL NULL # # +uca1400_slovenian_ai_cs NULL NULL NULL # # +uca1400_slovenian_as_ci NULL NULL NULL # # +uca1400_slovenian_as_cs NULL NULL NULL # # +uca1400_slovenian_nopad_ai_ci NULL NULL NULL # # +uca1400_slovenian_nopad_ai_cs NULL NULL NULL # # +uca1400_slovenian_nopad_as_ci NULL NULL NULL # # +uca1400_slovenian_nopad_as_cs NULL NULL NULL # # +uca1400_polish_ai_ci NULL NULL NULL # # +uca1400_polish_ai_cs NULL NULL NULL # # +uca1400_polish_as_ci NULL NULL NULL # # +uca1400_polish_as_cs NULL NULL NULL # # +uca1400_polish_nopad_ai_ci NULL NULL NULL # # +uca1400_polish_nopad_ai_cs NULL NULL NULL # # +uca1400_polish_nopad_as_ci NULL NULL NULL # # +uca1400_polish_nopad_as_cs NULL NULL NULL # # +uca1400_estonian_ai_ci NULL NULL NULL # # +uca1400_estonian_ai_cs NULL NULL NULL # # +uca1400_estonian_as_ci NULL NULL NULL # # +uca1400_estonian_as_cs NULL NULL NULL # # +uca1400_estonian_nopad_ai_ci NULL NULL NULL # # +uca1400_estonian_nopad_ai_cs NULL NULL NULL # # +uca1400_estonian_nopad_as_ci NULL NULL NULL # # +uca1400_estonian_nopad_as_cs NULL NULL NULL # # +uca1400_spanish_ai_ci NULL NULL NULL # # +uca1400_spanish_ai_cs NULL NULL NULL # # +uca1400_spanish_as_ci NULL NULL NULL # # +uca1400_spanish_as_cs NULL NULL NULL # # +uca1400_spanish_nopad_ai_ci NULL NULL NULL # # +uca1400_spanish_nopad_ai_cs NULL NULL NULL # # +uca1400_spanish_nopad_as_ci NULL NULL NULL # # +uca1400_spanish_nopad_as_cs NULL NULL NULL # # +uca1400_swedish_ai_ci NULL NULL NULL # # +uca1400_swedish_ai_cs NULL NULL NULL # # +uca1400_swedish_as_ci NULL NULL NULL # # +uca1400_swedish_as_cs NULL NULL NULL # # +uca1400_swedish_nopad_ai_ci NULL NULL NULL # # +uca1400_swedish_nopad_ai_cs NULL NULL NULL # # +uca1400_swedish_nopad_as_ci NULL NULL NULL # # +uca1400_swedish_nopad_as_cs NULL NULL NULL # # +uca1400_turkish_ai_ci NULL NULL NULL # # +uca1400_turkish_ai_cs NULL NULL NULL # # +uca1400_turkish_as_ci NULL NULL NULL # # +uca1400_turkish_as_cs NULL NULL NULL # # +uca1400_turkish_nopad_ai_ci NULL NULL NULL # # +uca1400_turkish_nopad_ai_cs NULL NULL NULL # # +uca1400_turkish_nopad_as_ci NULL NULL NULL # # +uca1400_turkish_nopad_as_cs NULL NULL NULL # # +uca1400_czech_ai_ci NULL NULL NULL # # +uca1400_czech_ai_cs NULL NULL NULL # # +uca1400_czech_as_ci NULL NULL NULL # # +uca1400_czech_as_cs NULL NULL NULL # # +uca1400_czech_nopad_ai_ci NULL NULL NULL # # +uca1400_czech_nopad_ai_cs NULL NULL NULL # # +uca1400_czech_nopad_as_ci NULL NULL NULL # # +uca1400_czech_nopad_as_cs NULL NULL NULL # # +uca1400_danish_ai_ci NULL NULL NULL # # +uca1400_danish_ai_cs NULL NULL NULL # # +uca1400_danish_as_ci NULL NULL NULL # # +uca1400_danish_as_cs NULL NULL NULL # # +uca1400_danish_nopad_ai_ci NULL NULL NULL # # +uca1400_danish_nopad_ai_cs NULL NULL NULL # # +uca1400_danish_nopad_as_ci NULL NULL NULL # # +uca1400_danish_nopad_as_cs NULL NULL NULL # # +uca1400_lithuanian_ai_ci NULL NULL NULL # # +uca1400_lithuanian_ai_cs NULL NULL NULL # # +uca1400_lithuanian_as_ci NULL NULL NULL # # +uca1400_lithuanian_as_cs NULL NULL NULL # # +uca1400_lithuanian_nopad_ai_ci NULL NULL NULL # # +uca1400_lithuanian_nopad_ai_cs NULL NULL NULL # # +uca1400_lithuanian_nopad_as_ci NULL NULL NULL # # +uca1400_lithuanian_nopad_as_cs NULL NULL NULL # # +uca1400_slovak_ai_ci NULL NULL NULL # # +uca1400_slovak_ai_cs NULL NULL NULL # # +uca1400_slovak_as_ci NULL NULL NULL # # +uca1400_slovak_as_cs NULL NULL NULL # # +uca1400_slovak_nopad_ai_ci NULL NULL NULL # # +uca1400_slovak_nopad_ai_cs NULL NULL NULL # # +uca1400_slovak_nopad_as_ci NULL NULL NULL # # +uca1400_slovak_nopad_as_cs NULL NULL NULL # # +uca1400_spanish2_ai_ci NULL NULL NULL # # +uca1400_spanish2_ai_cs NULL NULL NULL # # +uca1400_spanish2_as_ci NULL NULL NULL # # +uca1400_spanish2_as_cs NULL NULL NULL # # +uca1400_spanish2_nopad_ai_ci NULL NULL NULL # # +uca1400_spanish2_nopad_ai_cs NULL NULL NULL # # +uca1400_spanish2_nopad_as_ci NULL NULL NULL # # +uca1400_spanish2_nopad_as_cs NULL NULL NULL # # +uca1400_roman_ai_ci NULL NULL NULL # # +uca1400_roman_ai_cs NULL NULL NULL # # +uca1400_roman_as_ci NULL NULL NULL # # +uca1400_roman_as_cs NULL NULL NULL # # +uca1400_roman_nopad_ai_ci NULL NULL NULL # # +uca1400_roman_nopad_ai_cs NULL NULL NULL # # +uca1400_roman_nopad_as_ci NULL NULL NULL # # +uca1400_roman_nopad_as_cs NULL NULL NULL # # +uca1400_persian_ai_ci NULL NULL NULL # # +uca1400_persian_ai_cs NULL NULL NULL # # +uca1400_persian_as_ci NULL NULL NULL # # +uca1400_persian_as_cs NULL NULL NULL # # +uca1400_persian_nopad_ai_ci NULL NULL NULL # # +uca1400_persian_nopad_ai_cs NULL NULL NULL # # +uca1400_persian_nopad_as_ci NULL NULL NULL # # +uca1400_persian_nopad_as_cs NULL NULL NULL # # +uca1400_esperanto_ai_ci NULL NULL NULL # # +uca1400_esperanto_ai_cs NULL NULL NULL # # +uca1400_esperanto_as_ci NULL NULL NULL # # +uca1400_esperanto_as_cs NULL NULL NULL # # +uca1400_esperanto_nopad_ai_ci NULL NULL NULL # # +uca1400_esperanto_nopad_ai_cs NULL NULL NULL # # +uca1400_esperanto_nopad_as_ci NULL NULL NULL # # +uca1400_esperanto_nopad_as_cs NULL NULL NULL # # +uca1400_hungarian_ai_ci NULL NULL NULL # # +uca1400_hungarian_ai_cs NULL NULL NULL # # +uca1400_hungarian_as_ci NULL NULL NULL # # +uca1400_hungarian_as_cs NULL NULL NULL # # +uca1400_hungarian_nopad_ai_ci NULL NULL NULL # # +uca1400_hungarian_nopad_ai_cs NULL NULL NULL # # +uca1400_hungarian_nopad_as_ci NULL NULL NULL # # +uca1400_hungarian_nopad_as_cs NULL NULL NULL # # +uca1400_sinhala_ai_ci NULL NULL NULL # # +uca1400_sinhala_ai_cs NULL NULL NULL # # +uca1400_sinhala_as_ci NULL NULL NULL # # +uca1400_sinhala_as_cs NULL NULL NULL # # +uca1400_sinhala_nopad_ai_ci NULL NULL NULL # # +uca1400_sinhala_nopad_ai_cs NULL NULL NULL # # +uca1400_sinhala_nopad_as_ci NULL NULL NULL # # +uca1400_sinhala_nopad_as_cs NULL NULL NULL # # +uca1400_german2_ai_ci NULL NULL NULL # # +uca1400_german2_ai_cs NULL NULL NULL # # +uca1400_german2_as_ci NULL NULL NULL # # +uca1400_german2_as_cs NULL NULL NULL # # +uca1400_german2_nopad_ai_ci NULL NULL NULL # # +uca1400_german2_nopad_ai_cs NULL NULL NULL # # +uca1400_german2_nopad_as_ci NULL NULL NULL # # +uca1400_german2_nopad_as_cs NULL NULL NULL # # +uca1400_vietnamese_ai_ci NULL NULL NULL # # +uca1400_vietnamese_ai_cs NULL NULL NULL # # +uca1400_vietnamese_as_ci NULL NULL NULL # # +uca1400_vietnamese_as_cs NULL NULL NULL # # +uca1400_vietnamese_nopad_ai_ci NULL NULL NULL # # +uca1400_vietnamese_nopad_ai_cs NULL NULL NULL # # +uca1400_vietnamese_nopad_as_ci NULL NULL NULL # # +uca1400_vietnamese_nopad_as_cs NULL NULL NULL # # +uca1400_croatian_ai_ci NULL NULL NULL # # +uca1400_croatian_ai_cs NULL NULL NULL # # +uca1400_croatian_as_ci NULL NULL NULL # # +uca1400_croatian_as_cs NULL NULL NULL # # +uca1400_croatian_nopad_ai_ci NULL NULL NULL # # +uca1400_croatian_nopad_ai_cs NULL NULL NULL # # +uca1400_croatian_nopad_as_ci NULL NULL NULL # # +uca1400_croatian_nopad_as_cs NULL NULL NULL # # +cp1251_bulgarian_ci cp1251 14 # # +cp1251_ukrainian_ci cp1251 23 # # +cp1251_bin cp1251 50 # # +cp1251_general_ci cp1251 51 Yes # # +cp1251_general_cs cp1251 52 # # +cp1251_nopad_bin cp1251 1074 # # +cp1251_general_nopad_ci cp1251 1075 # # +utf16_general_ci utf16 54 Yes # # +utf16_bin utf16 55 # # +utf16_unicode_ci utf16 101 # # +utf16_icelandic_ci utf16 102 # # +utf16_latvian_ci utf16 103 # # +utf16_romanian_ci utf16 104 # # +utf16_slovenian_ci utf16 105 # # +utf16_polish_ci utf16 106 # # +utf16_estonian_ci utf16 107 # # +utf16_spanish_ci utf16 108 # # +utf16_swedish_ci utf16 109 # # +utf16_turkish_ci utf16 110 # # +utf16_czech_ci utf16 111 # # +utf16_danish_ci utf16 112 # # +utf16_lithuanian_ci utf16 113 # # +utf16_slovak_ci utf16 114 # # +utf16_spanish2_ci utf16 115 # # +utf16_roman_ci utf16 116 # # +utf16_persian_ci utf16 117 # # +utf16_esperanto_ci utf16 118 # # +utf16_hungarian_ci utf16 119 # # +utf16_sinhala_ci utf16 120 # # +utf16_german2_ci utf16 121 # # +utf16_croatian_mysql561_ci utf16 122 # # +utf16_unicode_520_ci utf16 123 # # +utf16_vietnamese_ci utf16 124 # # +utf16_croatian_ci utf16 672 # # +utf16_myanmar_ci utf16 673 # # +utf16_thai_520_w2 utf16 674 # # +utf16_general_nopad_ci utf16 1078 # # +utf16_nopad_bin utf16 1079 # # +utf16_unicode_nopad_ci utf16 1125 # # +utf16_unicode_520_nopad_ci utf16 1147 # # +utf16le_general_ci utf16le 56 Yes # # +utf16le_bin utf16le 62 # # +utf16le_general_nopad_ci utf16le 1080 # # +utf16le_nopad_bin utf16le 1086 # # +cp1256_general_ci cp1256 57 Yes # # +cp1256_bin cp1256 67 # # +cp1256_general_nopad_ci cp1256 1081 # # +cp1256_nopad_bin cp1256 1091 # # +cp1257_lithuanian_ci cp1257 29 # # +cp1257_bin cp1257 58 # # +cp1257_general_ci cp1257 59 Yes # # +cp1257_nopad_bin cp1257 1082 # # +cp1257_general_nopad_ci cp1257 1083 # # +utf32_general_ci utf32 60 Yes # # +utf32_bin utf32 61 # # +utf32_unicode_ci utf32 160 # # +utf32_icelandic_ci utf32 161 # # +utf32_latvian_ci utf32 162 # # +utf32_romanian_ci utf32 163 # # +utf32_slovenian_ci utf32 164 # # +utf32_polish_ci utf32 165 # # +utf32_estonian_ci utf32 166 # # +utf32_spanish_ci utf32 167 # # +utf32_swedish_ci utf32 168 # # +utf32_turkish_ci utf32 169 # # +utf32_czech_ci utf32 170 # # +utf32_danish_ci utf32 171 # # +utf32_lithuanian_ci utf32 172 # # +utf32_slovak_ci utf32 173 # # +utf32_spanish2_ci utf32 174 # # +utf32_roman_ci utf32 175 # # +utf32_persian_ci utf32 176 # # +utf32_esperanto_ci utf32 177 # # +utf32_hungarian_ci utf32 178 # # +utf32_sinhala_ci utf32 179 # # +utf32_german2_ci utf32 180 # # +utf32_croatian_mysql561_ci utf32 181 # # +utf32_unicode_520_ci utf32 182 # # +utf32_vietnamese_ci utf32 183 # # +utf32_croatian_ci utf32 736 # # +utf32_myanmar_ci utf32 737 # # +utf32_thai_520_w2 utf32 738 # # +utf32_general_nopad_ci utf32 1084 # # +utf32_nopad_bin utf32 1085 # # +utf32_unicode_nopad_ci utf32 1184 # # +utf32_unicode_520_nopad_ci utf32 1206 # # +binary binary 63 Yes # # +geostd8_general_ci geostd8 92 Yes # # +geostd8_bin geostd8 93 # # +geostd8_general_nopad_ci geostd8 1116 # # +geostd8_nopad_bin geostd8 1117 # # +cp932_japanese_ci cp932 95 Yes # # +cp932_bin cp932 96 # # +cp932_japanese_nopad_ci cp932 1119 # # +cp932_nopad_bin cp932 1120 # # +eucjpms_japanese_ci eucjpms 97 Yes # # +eucjpms_bin eucjpms 98 # # +eucjpms_japanese_nopad_ci eucjpms 1121 # # +eucjpms_nopad_bin eucjpms 1122 # # +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d9 COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d9 DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d9 COLLATE ascii_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d9 DEFAULT COLLATE ascii_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d9 COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d9 DEFAULT COLLATE ascii_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d9 COLLATE ascii_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; +CREATE DATABASE d9 DEFAULT CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d9 DEFAULT COLLATE ascii_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d9 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d9; diff --git a/mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result b/mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result new file mode 100644 index 00000000..0bc61707 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result @@ -0,0 +1,2273 @@ +DROP DATABASE IF EXISTS d10; +SHOW COLLATION; +Collation Charset Id Default Compiled Sortlen +big5_chinese_ci big5 1 Yes # # +big5_bin big5 84 # # +big5_chinese_nopad_ci big5 1025 # # +big5_nopad_bin big5 1108 # # +dec8_swedish_ci dec8 3 Yes # # +dec8_bin dec8 69 # # +dec8_swedish_nopad_ci dec8 1027 # # +dec8_nopad_bin dec8 1093 # # +cp850_general_ci cp850 4 Yes # # +cp850_bin cp850 80 # # +cp850_general_nopad_ci cp850 1028 # # +cp850_nopad_bin cp850 1104 # # +hp8_english_ci hp8 6 Yes # # +hp8_bin hp8 72 # # +hp8_english_nopad_ci hp8 1030 # # +hp8_nopad_bin hp8 1096 # # +koi8r_general_ci koi8r 7 Yes # # +koi8r_bin koi8r 74 # # +koi8r_general_nopad_ci koi8r 1031 # # +koi8r_nopad_bin koi8r 1098 # # +latin1_german1_ci latin1 5 # # +latin1_swedish_ci latin1 8 Yes # # +latin1_danish_ci latin1 15 # # +latin1_german2_ci latin1 31 # # +latin1_bin latin1 47 # # +latin1_general_ci latin1 48 # # +latin1_general_cs latin1 49 # # +latin1_spanish_ci latin1 94 # # +latin1_swedish_nopad_ci latin1 1032 # # +latin1_nopad_bin latin1 1071 # # +latin2_czech_cs latin2 2 # # +latin2_general_ci latin2 9 Yes # # +latin2_hungarian_ci latin2 21 # # +latin2_croatian_ci latin2 27 # # +latin2_bin latin2 77 # # +latin2_general_nopad_ci latin2 1033 # # +latin2_nopad_bin latin2 1101 # # +swe7_swedish_ci swe7 10 Yes # # +swe7_bin swe7 82 # # +swe7_swedish_nopad_ci swe7 1034 # # +swe7_nopad_bin swe7 1106 # # +ascii_general_ci ascii 11 Yes # # +ascii_bin ascii 65 # # +ascii_general_nopad_ci ascii 1035 # # +ascii_nopad_bin ascii 1089 # # +ujis_japanese_ci ujis 12 Yes # # +ujis_bin ujis 91 # # +ujis_japanese_nopad_ci ujis 1036 # # +ujis_nopad_bin ujis 1115 # # +sjis_japanese_ci sjis 13 Yes # # +sjis_bin sjis 88 # # +sjis_japanese_nopad_ci sjis 1037 # # +sjis_nopad_bin sjis 1112 # # +hebrew_general_ci hebrew 16 Yes # # +hebrew_bin hebrew 71 # # +hebrew_general_nopad_ci hebrew 1040 # # +hebrew_nopad_bin hebrew 1095 # # +tis620_thai_ci tis620 18 Yes # # +tis620_bin tis620 89 # # +tis620_thai_nopad_ci tis620 1042 # # +tis620_nopad_bin tis620 1113 # # +euckr_korean_ci euckr 19 Yes # # +euckr_bin euckr 85 # # +euckr_korean_nopad_ci euckr 1043 # # +euckr_nopad_bin euckr 1109 # # +koi8u_general_ci koi8u 22 Yes # # +koi8u_bin koi8u 75 # # +koi8u_general_nopad_ci koi8u 1046 # # +koi8u_nopad_bin koi8u 1099 # # +gb2312_chinese_ci gb2312 24 Yes # # +gb2312_bin gb2312 86 # # +gb2312_chinese_nopad_ci gb2312 1048 # # +gb2312_nopad_bin gb2312 1110 # # +greek_general_ci greek 25 Yes # # +greek_bin greek 70 # # +greek_general_nopad_ci greek 1049 # # +greek_nopad_bin greek 1094 # # +cp1250_general_ci cp1250 26 Yes # # +cp1250_czech_cs cp1250 34 # # +cp1250_croatian_ci cp1250 44 # # +cp1250_bin cp1250 66 # # +cp1250_polish_ci cp1250 99 # # +cp1250_general_nopad_ci cp1250 1050 # # +cp1250_nopad_bin cp1250 1090 # # +gbk_chinese_ci gbk 28 Yes # # +gbk_bin gbk 87 # # +gbk_chinese_nopad_ci gbk 1052 # # +gbk_nopad_bin gbk 1111 # # +latin5_turkish_ci latin5 30 Yes # # +latin5_bin latin5 78 # # +latin5_turkish_nopad_ci latin5 1054 # # +latin5_nopad_bin latin5 1102 # # +armscii8_general_ci armscii8 32 Yes # # +armscii8_bin armscii8 64 # # +armscii8_general_nopad_ci armscii8 1056 # # +armscii8_nopad_bin armscii8 1088 # # +utf8mb3_general_ci utf8mb3 33 Yes # # +utf8mb3_bin utf8mb3 83 # # +utf8mb3_unicode_ci utf8mb3 192 # # +utf8mb3_icelandic_ci utf8mb3 193 # # +utf8mb3_latvian_ci utf8mb3 194 # # +utf8mb3_romanian_ci utf8mb3 195 # # +utf8mb3_slovenian_ci utf8mb3 196 # # +utf8mb3_polish_ci utf8mb3 197 # # +utf8mb3_estonian_ci utf8mb3 198 # # +utf8mb3_spanish_ci utf8mb3 199 # # +utf8mb3_swedish_ci utf8mb3 200 # # +utf8mb3_turkish_ci utf8mb3 201 # # +utf8mb3_czech_ci utf8mb3 202 # # +utf8mb3_danish_ci utf8mb3 203 # # +utf8mb3_lithuanian_ci utf8mb3 204 # # +utf8mb3_slovak_ci utf8mb3 205 # # +utf8mb3_spanish2_ci utf8mb3 206 # # +utf8mb3_roman_ci utf8mb3 207 # # +utf8mb3_persian_ci utf8mb3 208 # # +utf8mb3_esperanto_ci utf8mb3 209 # # +utf8mb3_hungarian_ci utf8mb3 210 # # +utf8mb3_sinhala_ci utf8mb3 211 # # +utf8mb3_german2_ci utf8mb3 212 # # +utf8mb3_croatian_mysql561_ci utf8mb3 213 # # +utf8mb3_unicode_520_ci utf8mb3 214 # # +utf8mb3_vietnamese_ci utf8mb3 215 # # +utf8mb3_general_mysql500_ci utf8mb3 223 # # +utf8mb3_croatian_ci utf8mb3 576 # # +utf8mb3_myanmar_ci utf8mb3 577 # # +utf8mb3_thai_520_w2 utf8mb3 578 # # +utf8mb3_general_nopad_ci utf8mb3 1057 # # +utf8mb3_nopad_bin utf8mb3 1107 # # +utf8mb3_unicode_nopad_ci utf8mb3 1216 # # +utf8mb3_unicode_520_nopad_ci utf8mb3 1238 # # +ucs2_general_ci ucs2 35 Yes # # +ucs2_bin ucs2 90 # # +ucs2_unicode_ci ucs2 128 # # +ucs2_icelandic_ci ucs2 129 # # +ucs2_latvian_ci ucs2 130 # # +ucs2_romanian_ci ucs2 131 # # +ucs2_slovenian_ci ucs2 132 # # +ucs2_polish_ci ucs2 133 # # +ucs2_estonian_ci ucs2 134 # # +ucs2_spanish_ci ucs2 135 # # +ucs2_swedish_ci ucs2 136 # # +ucs2_turkish_ci ucs2 137 # # +ucs2_czech_ci ucs2 138 # # +ucs2_danish_ci ucs2 139 # # +ucs2_lithuanian_ci ucs2 140 # # +ucs2_slovak_ci ucs2 141 # # +ucs2_spanish2_ci ucs2 142 # # +ucs2_roman_ci ucs2 143 # # +ucs2_persian_ci ucs2 144 # # +ucs2_esperanto_ci ucs2 145 # # +ucs2_hungarian_ci ucs2 146 # # +ucs2_sinhala_ci ucs2 147 # # +ucs2_german2_ci ucs2 148 # # +ucs2_croatian_mysql561_ci ucs2 149 # # +ucs2_unicode_520_ci ucs2 150 # # +ucs2_vietnamese_ci ucs2 151 # # +ucs2_general_mysql500_ci ucs2 159 # # +ucs2_croatian_ci ucs2 640 # # +ucs2_myanmar_ci ucs2 641 # # +ucs2_thai_520_w2 ucs2 642 # # +ucs2_general_nopad_ci ucs2 1059 # # +ucs2_nopad_bin ucs2 1114 # # +ucs2_unicode_nopad_ci ucs2 1152 # # +ucs2_unicode_520_nopad_ci ucs2 1174 # # +cp866_general_ci cp866 36 Yes # # +cp866_bin cp866 68 # # +cp866_general_nopad_ci cp866 1060 # # +cp866_nopad_bin cp866 1092 # # +keybcs2_general_ci keybcs2 37 Yes # # +keybcs2_bin keybcs2 73 # # +keybcs2_general_nopad_ci keybcs2 1061 # # +keybcs2_nopad_bin keybcs2 1097 # # +macce_general_ci macce 38 Yes # # +macce_bin macce 43 # # +macce_general_nopad_ci macce 1062 # # +macce_nopad_bin macce 1067 # # +macroman_general_ci macroman 39 Yes # # +macroman_bin macroman 53 # # +macroman_general_nopad_ci macroman 1063 # # +macroman_nopad_bin macroman 1077 # # +cp852_general_ci cp852 40 Yes # # +cp852_bin cp852 81 # # +cp852_general_nopad_ci cp852 1064 # # +cp852_nopad_bin cp852 1105 # # +latin7_estonian_cs latin7 20 # # +latin7_general_ci latin7 41 Yes # # +latin7_general_cs latin7 42 # # +latin7_bin latin7 79 # # +latin7_general_nopad_ci latin7 1065 # # +latin7_nopad_bin latin7 1103 # # +utf8mb4_general_ci utf8mb4 45 Yes # # +utf8mb4_bin utf8mb4 46 # # +utf8mb4_unicode_ci utf8mb4 224 # # +utf8mb4_icelandic_ci utf8mb4 225 # # +utf8mb4_latvian_ci utf8mb4 226 # # +utf8mb4_romanian_ci utf8mb4 227 # # +utf8mb4_slovenian_ci utf8mb4 228 # # +utf8mb4_polish_ci utf8mb4 229 # # +utf8mb4_estonian_ci utf8mb4 230 # # +utf8mb4_spanish_ci utf8mb4 231 # # +utf8mb4_swedish_ci utf8mb4 232 # # +utf8mb4_turkish_ci utf8mb4 233 # # +utf8mb4_czech_ci utf8mb4 234 # # +utf8mb4_danish_ci utf8mb4 235 # # +utf8mb4_lithuanian_ci utf8mb4 236 # # +utf8mb4_slovak_ci utf8mb4 237 # # +utf8mb4_spanish2_ci utf8mb4 238 # # +utf8mb4_roman_ci utf8mb4 239 # # +utf8mb4_persian_ci utf8mb4 240 # # +utf8mb4_esperanto_ci utf8mb4 241 # # +utf8mb4_hungarian_ci utf8mb4 242 # # +utf8mb4_sinhala_ci utf8mb4 243 # # +utf8mb4_german2_ci utf8mb4 244 # # +utf8mb4_croatian_mysql561_ci utf8mb4 245 # # +utf8mb4_unicode_520_ci utf8mb4 246 # # +utf8mb4_vietnamese_ci utf8mb4 247 # # +utf8mb4_croatian_ci utf8mb4 608 # # +utf8mb4_myanmar_ci utf8mb4 609 # # +utf8mb4_thai_520_w2 utf8mb4 610 # # +utf8mb4_general_nopad_ci utf8mb4 1069 # # +utf8mb4_nopad_bin utf8mb4 1070 # # +utf8mb4_unicode_nopad_ci utf8mb4 1248 # # +utf8mb4_unicode_520_nopad_ci utf8mb4 1270 # # +uca1400_ai_ci NULL NULL NULL # # +uca1400_ai_cs NULL NULL NULL # # +uca1400_as_ci NULL NULL NULL # # +uca1400_as_cs NULL NULL NULL # # +uca1400_nopad_ai_ci NULL NULL NULL # # +uca1400_nopad_ai_cs NULL NULL NULL # # +uca1400_nopad_as_ci NULL NULL NULL # # +uca1400_nopad_as_cs NULL NULL NULL # # +uca1400_icelandic_ai_ci NULL NULL NULL # # +uca1400_icelandic_ai_cs NULL NULL NULL # # +uca1400_icelandic_as_ci NULL NULL NULL # # +uca1400_icelandic_as_cs NULL NULL NULL # # +uca1400_icelandic_nopad_ai_ci NULL NULL NULL # # +uca1400_icelandic_nopad_ai_cs NULL NULL NULL # # +uca1400_icelandic_nopad_as_ci NULL NULL NULL # # +uca1400_icelandic_nopad_as_cs NULL NULL NULL # # +uca1400_latvian_ai_ci NULL NULL NULL # # +uca1400_latvian_ai_cs NULL NULL NULL # # +uca1400_latvian_as_ci NULL NULL NULL # # +uca1400_latvian_as_cs NULL NULL NULL # # +uca1400_latvian_nopad_ai_ci NULL NULL NULL # # +uca1400_latvian_nopad_ai_cs NULL NULL NULL # # +uca1400_latvian_nopad_as_ci NULL NULL NULL # # +uca1400_latvian_nopad_as_cs NULL NULL NULL # # +uca1400_romanian_ai_ci NULL NULL NULL # # +uca1400_romanian_ai_cs NULL NULL NULL # # +uca1400_romanian_as_ci NULL NULL NULL # # +uca1400_romanian_as_cs NULL NULL NULL # # +uca1400_romanian_nopad_ai_ci NULL NULL NULL # # +uca1400_romanian_nopad_ai_cs NULL NULL NULL # # +uca1400_romanian_nopad_as_ci NULL NULL NULL # # +uca1400_romanian_nopad_as_cs NULL NULL NULL # # +uca1400_slovenian_ai_ci NULL NULL NULL # # +uca1400_slovenian_ai_cs NULL NULL NULL # # +uca1400_slovenian_as_ci NULL NULL NULL # # +uca1400_slovenian_as_cs NULL NULL NULL # # +uca1400_slovenian_nopad_ai_ci NULL NULL NULL # # +uca1400_slovenian_nopad_ai_cs NULL NULL NULL # # +uca1400_slovenian_nopad_as_ci NULL NULL NULL # # +uca1400_slovenian_nopad_as_cs NULL NULL NULL # # +uca1400_polish_ai_ci NULL NULL NULL # # +uca1400_polish_ai_cs NULL NULL NULL # # +uca1400_polish_as_ci NULL NULL NULL # # +uca1400_polish_as_cs NULL NULL NULL # # +uca1400_polish_nopad_ai_ci NULL NULL NULL # # +uca1400_polish_nopad_ai_cs NULL NULL NULL # # +uca1400_polish_nopad_as_ci NULL NULL NULL # # +uca1400_polish_nopad_as_cs NULL NULL NULL # # +uca1400_estonian_ai_ci NULL NULL NULL # # +uca1400_estonian_ai_cs NULL NULL NULL # # +uca1400_estonian_as_ci NULL NULL NULL # # +uca1400_estonian_as_cs NULL NULL NULL # # +uca1400_estonian_nopad_ai_ci NULL NULL NULL # # +uca1400_estonian_nopad_ai_cs NULL NULL NULL # # +uca1400_estonian_nopad_as_ci NULL NULL NULL # # +uca1400_estonian_nopad_as_cs NULL NULL NULL # # +uca1400_spanish_ai_ci NULL NULL NULL # # +uca1400_spanish_ai_cs NULL NULL NULL # # +uca1400_spanish_as_ci NULL NULL NULL # # +uca1400_spanish_as_cs NULL NULL NULL # # +uca1400_spanish_nopad_ai_ci NULL NULL NULL # # +uca1400_spanish_nopad_ai_cs NULL NULL NULL # # +uca1400_spanish_nopad_as_ci NULL NULL NULL # # +uca1400_spanish_nopad_as_cs NULL NULL NULL # # +uca1400_swedish_ai_ci NULL NULL NULL # # +uca1400_swedish_ai_cs NULL NULL NULL # # +uca1400_swedish_as_ci NULL NULL NULL # # +uca1400_swedish_as_cs NULL NULL NULL # # +uca1400_swedish_nopad_ai_ci NULL NULL NULL # # +uca1400_swedish_nopad_ai_cs NULL NULL NULL # # +uca1400_swedish_nopad_as_ci NULL NULL NULL # # +uca1400_swedish_nopad_as_cs NULL NULL NULL # # +uca1400_turkish_ai_ci NULL NULL NULL # # +uca1400_turkish_ai_cs NULL NULL NULL # # +uca1400_turkish_as_ci NULL NULL NULL # # +uca1400_turkish_as_cs NULL NULL NULL # # +uca1400_turkish_nopad_ai_ci NULL NULL NULL # # +uca1400_turkish_nopad_ai_cs NULL NULL NULL # # +uca1400_turkish_nopad_as_ci NULL NULL NULL # # +uca1400_turkish_nopad_as_cs NULL NULL NULL # # +uca1400_czech_ai_ci NULL NULL NULL # # +uca1400_czech_ai_cs NULL NULL NULL # # +uca1400_czech_as_ci NULL NULL NULL # # +uca1400_czech_as_cs NULL NULL NULL # # +uca1400_czech_nopad_ai_ci NULL NULL NULL # # +uca1400_czech_nopad_ai_cs NULL NULL NULL # # +uca1400_czech_nopad_as_ci NULL NULL NULL # # +uca1400_czech_nopad_as_cs NULL NULL NULL # # +uca1400_danish_ai_ci NULL NULL NULL # # +uca1400_danish_ai_cs NULL NULL NULL # # +uca1400_danish_as_ci NULL NULL NULL # # +uca1400_danish_as_cs NULL NULL NULL # # +uca1400_danish_nopad_ai_ci NULL NULL NULL # # +uca1400_danish_nopad_ai_cs NULL NULL NULL # # +uca1400_danish_nopad_as_ci NULL NULL NULL # # +uca1400_danish_nopad_as_cs NULL NULL NULL # # +uca1400_lithuanian_ai_ci NULL NULL NULL # # +uca1400_lithuanian_ai_cs NULL NULL NULL # # +uca1400_lithuanian_as_ci NULL NULL NULL # # +uca1400_lithuanian_as_cs NULL NULL NULL # # +uca1400_lithuanian_nopad_ai_ci NULL NULL NULL # # +uca1400_lithuanian_nopad_ai_cs NULL NULL NULL # # +uca1400_lithuanian_nopad_as_ci NULL NULL NULL # # +uca1400_lithuanian_nopad_as_cs NULL NULL NULL # # +uca1400_slovak_ai_ci NULL NULL NULL # # +uca1400_slovak_ai_cs NULL NULL NULL # # +uca1400_slovak_as_ci NULL NULL NULL # # +uca1400_slovak_as_cs NULL NULL NULL # # +uca1400_slovak_nopad_ai_ci NULL NULL NULL # # +uca1400_slovak_nopad_ai_cs NULL NULL NULL # # +uca1400_slovak_nopad_as_ci NULL NULL NULL # # +uca1400_slovak_nopad_as_cs NULL NULL NULL # # +uca1400_spanish2_ai_ci NULL NULL NULL # # +uca1400_spanish2_ai_cs NULL NULL NULL # # +uca1400_spanish2_as_ci NULL NULL NULL # # +uca1400_spanish2_as_cs NULL NULL NULL # # +uca1400_spanish2_nopad_ai_ci NULL NULL NULL # # +uca1400_spanish2_nopad_ai_cs NULL NULL NULL # # +uca1400_spanish2_nopad_as_ci NULL NULL NULL # # +uca1400_spanish2_nopad_as_cs NULL NULL NULL # # +uca1400_roman_ai_ci NULL NULL NULL # # +uca1400_roman_ai_cs NULL NULL NULL # # +uca1400_roman_as_ci NULL NULL NULL # # +uca1400_roman_as_cs NULL NULL NULL # # +uca1400_roman_nopad_ai_ci NULL NULL NULL # # +uca1400_roman_nopad_ai_cs NULL NULL NULL # # +uca1400_roman_nopad_as_ci NULL NULL NULL # # +uca1400_roman_nopad_as_cs NULL NULL NULL # # +uca1400_persian_ai_ci NULL NULL NULL # # +uca1400_persian_ai_cs NULL NULL NULL # # +uca1400_persian_as_ci NULL NULL NULL # # +uca1400_persian_as_cs NULL NULL NULL # # +uca1400_persian_nopad_ai_ci NULL NULL NULL # # +uca1400_persian_nopad_ai_cs NULL NULL NULL # # +uca1400_persian_nopad_as_ci NULL NULL NULL # # +uca1400_persian_nopad_as_cs NULL NULL NULL # # +uca1400_esperanto_ai_ci NULL NULL NULL # # +uca1400_esperanto_ai_cs NULL NULL NULL # # +uca1400_esperanto_as_ci NULL NULL NULL # # +uca1400_esperanto_as_cs NULL NULL NULL # # +uca1400_esperanto_nopad_ai_ci NULL NULL NULL # # +uca1400_esperanto_nopad_ai_cs NULL NULL NULL # # +uca1400_esperanto_nopad_as_ci NULL NULL NULL # # +uca1400_esperanto_nopad_as_cs NULL NULL NULL # # +uca1400_hungarian_ai_ci NULL NULL NULL # # +uca1400_hungarian_ai_cs NULL NULL NULL # # +uca1400_hungarian_as_ci NULL NULL NULL # # +uca1400_hungarian_as_cs NULL NULL NULL # # +uca1400_hungarian_nopad_ai_ci NULL NULL NULL # # +uca1400_hungarian_nopad_ai_cs NULL NULL NULL # # +uca1400_hungarian_nopad_as_ci NULL NULL NULL # # +uca1400_hungarian_nopad_as_cs NULL NULL NULL # # +uca1400_sinhala_ai_ci NULL NULL NULL # # +uca1400_sinhala_ai_cs NULL NULL NULL # # +uca1400_sinhala_as_ci NULL NULL NULL # # +uca1400_sinhala_as_cs NULL NULL NULL # # +uca1400_sinhala_nopad_ai_ci NULL NULL NULL # # +uca1400_sinhala_nopad_ai_cs NULL NULL NULL # # +uca1400_sinhala_nopad_as_ci NULL NULL NULL # # +uca1400_sinhala_nopad_as_cs NULL NULL NULL # # +uca1400_german2_ai_ci NULL NULL NULL # # +uca1400_german2_ai_cs NULL NULL NULL # # +uca1400_german2_as_ci NULL NULL NULL # # +uca1400_german2_as_cs NULL NULL NULL # # +uca1400_german2_nopad_ai_ci NULL NULL NULL # # +uca1400_german2_nopad_ai_cs NULL NULL NULL # # +uca1400_german2_nopad_as_ci NULL NULL NULL # # +uca1400_german2_nopad_as_cs NULL NULL NULL # # +uca1400_vietnamese_ai_ci NULL NULL NULL # # +uca1400_vietnamese_ai_cs NULL NULL NULL # # +uca1400_vietnamese_as_ci NULL NULL NULL # # +uca1400_vietnamese_as_cs NULL NULL NULL # # +uca1400_vietnamese_nopad_ai_ci NULL NULL NULL # # +uca1400_vietnamese_nopad_ai_cs NULL NULL NULL # # +uca1400_vietnamese_nopad_as_ci NULL NULL NULL # # +uca1400_vietnamese_nopad_as_cs NULL NULL NULL # # +uca1400_croatian_ai_ci NULL NULL NULL # # +uca1400_croatian_ai_cs NULL NULL NULL # # +uca1400_croatian_as_ci NULL NULL NULL # # +uca1400_croatian_as_cs NULL NULL NULL # # +uca1400_croatian_nopad_ai_ci NULL NULL NULL # # +uca1400_croatian_nopad_ai_cs NULL NULL NULL # # +uca1400_croatian_nopad_as_ci NULL NULL NULL # # +uca1400_croatian_nopad_as_cs NULL NULL NULL # # +cp1251_bulgarian_ci cp1251 14 # # +cp1251_ukrainian_ci cp1251 23 # # +cp1251_bin cp1251 50 # # +cp1251_general_ci cp1251 51 Yes # # +cp1251_general_cs cp1251 52 # # +cp1251_nopad_bin cp1251 1074 # # +cp1251_general_nopad_ci cp1251 1075 # # +utf16_general_ci utf16 54 Yes # # +utf16_bin utf16 55 # # +utf16_unicode_ci utf16 101 # # +utf16_icelandic_ci utf16 102 # # +utf16_latvian_ci utf16 103 # # +utf16_romanian_ci utf16 104 # # +utf16_slovenian_ci utf16 105 # # +utf16_polish_ci utf16 106 # # +utf16_estonian_ci utf16 107 # # +utf16_spanish_ci utf16 108 # # +utf16_swedish_ci utf16 109 # # +utf16_turkish_ci utf16 110 # # +utf16_czech_ci utf16 111 # # +utf16_danish_ci utf16 112 # # +utf16_lithuanian_ci utf16 113 # # +utf16_slovak_ci utf16 114 # # +utf16_spanish2_ci utf16 115 # # +utf16_roman_ci utf16 116 # # +utf16_persian_ci utf16 117 # # +utf16_esperanto_ci utf16 118 # # +utf16_hungarian_ci utf16 119 # # +utf16_sinhala_ci utf16 120 # # +utf16_german2_ci utf16 121 # # +utf16_croatian_mysql561_ci utf16 122 # # +utf16_unicode_520_ci utf16 123 # # +utf16_vietnamese_ci utf16 124 # # +utf16_croatian_ci utf16 672 # # +utf16_myanmar_ci utf16 673 # # +utf16_thai_520_w2 utf16 674 # # +utf16_general_nopad_ci utf16 1078 # # +utf16_nopad_bin utf16 1079 # # +utf16_unicode_nopad_ci utf16 1125 # # +utf16_unicode_520_nopad_ci utf16 1147 # # +utf16le_general_ci utf16le 56 Yes # # +utf16le_bin utf16le 62 # # +utf16le_general_nopad_ci utf16le 1080 # # +utf16le_nopad_bin utf16le 1086 # # +cp1256_general_ci cp1256 57 Yes # # +cp1256_bin cp1256 67 # # +cp1256_general_nopad_ci cp1256 1081 # # +cp1256_nopad_bin cp1256 1091 # # +cp1257_lithuanian_ci cp1257 29 # # +cp1257_bin cp1257 58 # # +cp1257_general_ci cp1257 59 Yes # # +cp1257_nopad_bin cp1257 1082 # # +cp1257_general_nopad_ci cp1257 1083 # # +utf32_general_ci utf32 60 Yes # # +utf32_bin utf32 61 # # +utf32_unicode_ci utf32 160 # # +utf32_icelandic_ci utf32 161 # # +utf32_latvian_ci utf32 162 # # +utf32_romanian_ci utf32 163 # # +utf32_slovenian_ci utf32 164 # # +utf32_polish_ci utf32 165 # # +utf32_estonian_ci utf32 166 # # +utf32_spanish_ci utf32 167 # # +utf32_swedish_ci utf32 168 # # +utf32_turkish_ci utf32 169 # # +utf32_czech_ci utf32 170 # # +utf32_danish_ci utf32 171 # # +utf32_lithuanian_ci utf32 172 # # +utf32_slovak_ci utf32 173 # # +utf32_spanish2_ci utf32 174 # # +utf32_roman_ci utf32 175 # # +utf32_persian_ci utf32 176 # # +utf32_esperanto_ci utf32 177 # # +utf32_hungarian_ci utf32 178 # # +utf32_sinhala_ci utf32 179 # # +utf32_german2_ci utf32 180 # # +utf32_croatian_mysql561_ci utf32 181 # # +utf32_unicode_520_ci utf32 182 # # +utf32_vietnamese_ci utf32 183 # # +utf32_croatian_ci utf32 736 # # +utf32_myanmar_ci utf32 737 # # +utf32_thai_520_w2 utf32 738 # # +utf32_general_nopad_ci utf32 1084 # # +utf32_nopad_bin utf32 1085 # # +utf32_unicode_nopad_ci utf32 1184 # # +utf32_unicode_520_nopad_ci utf32 1206 # # +binary binary 63 Yes # # +geostd8_general_ci geostd8 92 Yes # # +geostd8_bin geostd8 93 # # +geostd8_general_nopad_ci geostd8 1116 # # +geostd8_nopad_bin geostd8 1117 # # +cp932_japanese_ci cp932 95 Yes # # +cp932_bin cp932 96 # # +cp932_japanese_nopad_ci cp932 1119 # # +cp932_nopad_bin cp932 1120 # # +eucjpms_japanese_ci eucjpms 97 Yes # # +eucjpms_bin eucjpms 98 # # +eucjpms_japanese_nopad_ci eucjpms 1121 # # +eucjpms_nopad_bin eucjpms 1122 # # +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_unicode_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_unicode_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_unicode_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_unicode_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_icelandic_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_icelandic_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_icelandic_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_icelandic_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_latvian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_latvian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_latvian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_latvian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_romanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_romanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_romanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_romanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_slovenian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovenian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_slovenian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovenian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_polish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_polish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_polish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_polish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_estonian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_estonian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_estonian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_estonian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_spanish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_spanish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_swedish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_swedish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_turkish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_turkish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_turkish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_turkish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_czech_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_czech_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_czech_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_czech_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_danish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_danish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_danish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_danish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_lithuanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_lithuanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_lithuanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_lithuanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_slovak_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovak_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_slovak_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovak_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_spanish2_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish2_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_spanish2_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish2_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_roman_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_roman_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_roman_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_roman_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_persian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_persian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_persian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_persian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_esperanto_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_esperanto_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_esperanto_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_esperanto_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 COLLATE utf8_hungarian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_hungarian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER DATABASE d10 DEFAULT COLLATE utf8_hungarian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_hungarian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_bin; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_bin NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_unicode_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_unicode_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_unicode_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_unicode_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_icelandic_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_icelandic_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_icelandic_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_icelandic_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_latvian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_latvian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_latvian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_latvian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_romanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_romanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_romanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_romanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_slovenian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovenian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_slovenian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovenian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_polish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_polish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_polish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_polish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_estonian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_estonian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_estonian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_estonian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_spanish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_spanish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_swedish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_swedish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_turkish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_turkish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_turkish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_turkish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_czech_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_czech_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_czech_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_czech_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_danish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_danish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_danish_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_danish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_lithuanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_lithuanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_lithuanian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_lithuanian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_slovak_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovak_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_slovak_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_slovak_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_spanish2_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish2_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_spanish2_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_spanish2_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_roman_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_roman_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_roman_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_roman_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_persian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_persian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_persian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_persian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_esperanto_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_esperanto_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_esperanto_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_esperanto_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 COLLATE utf8_hungarian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_hungarian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; +CREATE DATABASE d10 DEFAULT CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +ALTER SCHEMA d10 DEFAULT COLLATE utf8_hungarian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d10 utf8mb3 utf8mb3_hungarian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d10; diff --git a/mysql-test/suite/engines/funcs/r/db_create_character_set.result b/mysql-test/suite/engines/funcs/r/db_create_character_set.result new file mode 100644 index 00000000..c7386d77 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_character_set.result @@ -0,0 +1,111 @@ +DROP DATABASE IF EXISTS d12; +CREATE DATABASE d12 CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d12; +CREATE DATABASE d12 CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d12; +CREATE DATABASE d12 CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d12; +CREATE DATABASE d12 CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d12; +CREATE DATABASE d12 CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d12; +CREATE SCHEMA d12 CHARACTER SET ascii; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 ascii ascii_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d12; +CREATE SCHEMA d12 CHARACTER SET utf8; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d12; +CREATE SCHEMA d12 CHARACTER SET binary; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 binary binary NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d12; +CREATE SCHEMA d12 CHARACTER SET swe7; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 swe7 swe7_swedish_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d12; +CREATE SCHEMA d12 CHARACTER SET cp1251; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d12 cp1251 cp1251_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d12; diff --git a/mysql-test/suite/engines/funcs/r/db_create_character_set_collate.result b/mysql-test/suite/engines/funcs/r/db_create_character_set_collate.result new file mode 100644 index 00000000..6bdcdba6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_character_set_collate.result @@ -0,0 +1,67 @@ +DROP DATABASE IF EXISTS d13; +CREATE DATABASE d13 CHARACTER SET utf8 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d13; +CREATE DATABASE d13 CHARACTER SET latin2 COLLATE latin2_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 latin2 latin2_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d13; +CREATE DATABASE d13 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 cp1250 cp1250_croatian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP DATABASE d13; +CREATE SCHEMA d13 CHARACTER SET utf8 COLLATE utf8_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 utf8mb3 utf8mb3_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d13; +CREATE SCHEMA d13 CHARACTER SET latin2 COLLATE latin2_general_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 latin2 latin2_general_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d13; +CREATE SCHEMA d13 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci; +SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME; +CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH SCHEMA_COMMENT +def d13 cp1250 cp1250_croatian_ci NULL +def information_schema utf8mb3 utf8mb3_general_ci NULL +def mtr latin1 latin1_swedish_ci NULL +def mysql latin1 latin1_swedish_ci NULL +def performance_schema utf8mb3 utf8mb3_general_ci NULL +def sys utf8mb3 utf8mb3_general_ci NULL +def test latin1 latin1_swedish_ci NULL +DROP SCHEMA d13; diff --git a/mysql-test/suite/engines/funcs/r/db_create_drop.result b/mysql-test/suite/engines/funcs/r/db_create_drop.result new file mode 100644 index 00000000..908327be --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_drop.result @@ -0,0 +1,49 @@ +DROP DATABASE IF EXISTS d1; +CREATE DATABASE d1; +SHOW DATABASES; +Database +d1 +information_schema +mtr +mysql +performance_schema +sys +test +SHOW DATABASES LIKE 'd%'; +Database (d%) +d1 +SHOW DATABASES LIKE '%'; +Database (%) +d1 +information_schema +mtr +mysql +performance_schema +sys +test +USE d1; +DROP DATABASE d1; +CREATE SCHEMA d1; +SHOW SCHEMAS; +Database +d1 +information_schema +mtr +mysql +performance_schema +sys +test +SHOW SCHEMAS LIKE 'd%'; +Database (d%) +d1 +SHOW SCHEMAS LIKE '%'; +Database (%) +d1 +information_schema +mtr +mysql +performance_schema +sys +test +USE d1; +DROP SCHEMA d1; diff --git a/mysql-test/suite/engines/funcs/r/db_create_error.result b/mysql-test/suite/engines/funcs/r/db_create_error.result new file mode 100644 index 00000000..3b7934a1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_error.result @@ -0,0 +1,22 @@ +DROP DATABASE IF EXISTS d4; +CREATE DATABASE d4; +SHOW DATABASES; +Database +d4 +information_schema +mtr +mysql +performance_schema +sys +test +CREATE DATABASE d4; +ERROR HY000: Can't create database 'd4'; database exists +DROP DATABASE d4; +SHOW DATABASES; +Database +information_schema +mtr +mysql +performance_schema +sys +test diff --git a/mysql-test/suite/engines/funcs/r/db_create_error_reserved.result b/mysql-test/suite/engines/funcs/r/db_create_error_reserved.result new file mode 100644 index 00000000..066209c3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_error_reserved.result @@ -0,0 +1,18 @@ +SHOW DATABASES; +Database +information_schema +mtr +mysql +performance_schema +sys +test +CREATE DATABASE mysql; +ERROR HY000: Can't create database 'mysql'; database exists +SHOW DATABASES; +Database +information_schema +mtr +mysql +performance_schema +sys +test diff --git a/mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result b/mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result new file mode 100644 index 00000000..0a4c5462 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result @@ -0,0 +1,37 @@ +DROP DATABASE IF EXISTS d2; +CREATE DATABASE d2; +CREATE DATABASE IF NOT EXISTS d2; +Warnings: +Note 1007 Can't create database 'd2'; database exists +SHOW DATABASES; +Database +d2 +information_schema +mtr +mysql +performance_schema +sys +test +USE d2; +DROP DATABASE d2; +DROP DATABASE IF EXISTS d2; +Warnings: +Note 1008 Can't drop database 'd2'; database doesn't exist +CREATE SCHEMA d2; +CREATE SCHEMA IF NOT EXISTS d2; +Warnings: +Note 1007 Can't create database 'd2'; database exists +SHOW DATABASES; +Database +d2 +information_schema +mtr +mysql +performance_schema +sys +test +USE d2; +DROP SCHEMA d2; +DROP SCHEMA IF EXISTS d2; +Warnings: +Note 1008 Can't drop database 'd2'; database doesn't exist diff --git a/mysql-test/suite/engines/funcs/r/db_drop_error.result b/mysql-test/suite/engines/funcs/r/db_drop_error.result new file mode 100644 index 00000000..a5dc1f8e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_drop_error.result @@ -0,0 +1,22 @@ +DROP DATABASE IF EXISTS d5; +CREATE DATABASE d5; +SHOW DATABASES; +Database +d5 +information_schema +mtr +mysql +performance_schema +sys +test +DROP DATABASE nond5; +ERROR HY000: Can't drop database 'nond5'; database doesn't exist +DROP DATABASE d5; +SHOW DATABASES; +Database +information_schema +mtr +mysql +performance_schema +sys +test diff --git a/mysql-test/suite/engines/funcs/r/db_use_error.result b/mysql-test/suite/engines/funcs/r/db_use_error.result new file mode 100644 index 00000000..a7c76e69 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/db_use_error.result @@ -0,0 +1,22 @@ +DROP DATABASE IF EXISTS d6; +CREATE DATABASE d6; +SHOW DATABASES; +Database +d6 +information_schema +mtr +mysql +performance_schema +sys +test +USE DATABASE nond6; +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DATABASE nond6' at line 1 +DROP DATABASE d6; +SHOW DATABASES; +Database +information_schema +mtr +mysql +performance_schema +sys +test diff --git a/mysql-test/suite/engines/funcs/r/de_autoinc.result b/mysql-test/suite/engines/funcs/r/de_autoinc.result new file mode 100644 index 00000000..8e89cf25 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_autoinc.result @@ -0,0 +1,151 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +DELETE FROM t1 WHERE c1 >= 3; +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +7 +8 +9 +DELETE FROM t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +10 +11 +12 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/de_calendar_range.result b/mysql-test/suite/engines/funcs/r/de_calendar_range.result new file mode 100644 index 00000000..ab39556e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_calendar_range.result @@ -0,0 +1,101 @@ +DROP TABLE IF EXISTS t1,t2,t3; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 +2007-02-14 +2007-02-15 +2007-02-16 +2007-02-17 +DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-16 +2007-02-17 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1 ORDER BY c1; +c1 +09:09:33 +10:10:34 +11:10:34 +12:10:34 +13:10:34 +DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/de_ignore.result b/mysql-test/suite/engines/funcs/r/de_ignore.result new file mode 100644 index 00000000..e69f1e52 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_ignore.result @@ -0,0 +1,169 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE IGNORE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE IGNORE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/de_limit.result b/mysql-test/suite/engines/funcs/r/de_limit.result new file mode 100644 index 00000000..fb5353a4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_limit.result @@ -0,0 +1,145 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +5 +6 +7 +8 +9 +DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/de_multi_db_table.result b/mysql-test/suite/engines/funcs/r/de_multi_db_table.result new file mode 100644 index 00000000..20cad0e0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_multi_db_table.result @@ -0,0 +1,1107 @@ +DROP DATABASE IF EXISTS d1; +DROP DATABASE IF EXISTS d2; +DROP DATABASE IF EXISTS d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE d1.t1, d2.t2 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE d1.t1.*, d2.t2.*, d3.t3 FROM d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; diff --git a/mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result b/mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result new file mode 100644 index 00000000..58654984 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result @@ -0,0 +1,1107 @@ +DROP DATABASE IF EXISTS d1; +DROP DATABASE IF EXISTS d2; +DROP DATABASE IF EXISTS d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM d1.t1, d2.t2 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM d1.t1, d2.t2, d3.t3 USING d1.t1, d2.t2, d3.t3 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; diff --git a/mysql-test/suite/engines/funcs/r/de_multi_table.result b/mysql-test/suite/engines/funcs/r/de_multi_table.result new file mode 100644 index 00000000..4f9cbfb5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_multi_table.result @@ -0,0 +1,984 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/de_multi_table_using.result b/mysql-test/suite/engines/funcs/r/de_multi_table_using.result new file mode 100644 index 00000000..0ff634de --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_multi_table_using.result @@ -0,0 +1,984 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +12 1 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 11 +22 11 +23 13 +24 14 +25 15 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/de_number_range.result b/mysql-test/suite/engines/funcs/r/de_number_range.result new file mode 100644 index 00000000..6d28e351 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_number_range.result @@ -0,0 +1,2017 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +4 30 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DELETE FROM t1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +DELETE FROM t2 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +DELETE FROM t3 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/de_quick.result b/mysql-test/suite/engines/funcs/r/de_quick.result new file mode 100644 index 00000000..8fb179a0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_quick.result @@ -0,0 +1,169 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +DELETE QUICK FROM t1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +DELETE QUICK FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/de_string_range.result b/mysql-test/suite/engines/funcs/r/de_string_range.result new file mode 100644 index 00000000..2ff61138 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_string_range.result @@ -0,0 +1,769 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DELETE FROM t1 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DELETE FROM t2 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DELETE FROM t3 WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/de_truncate.result b/mysql-test/suite/engines/funcs/r/de_truncate.result new file mode 100644 index 00000000..b4e2e077 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_truncate.result @@ -0,0 +1,49 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result b/mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result new file mode 100644 index 00000000..15425b8d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result @@ -0,0 +1,145 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null); +TRUNCATE TABLE t1 ; +SELECT * FROM t1 ORDER BY c1; +c1 +INSERT INTO t1 VALUES (null),(null),(null); +SELECT * FROM t1 ORDER BY c1; +c1 +1 +2 +3 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result new file mode 100644 index 00000000..bcd565ce --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result @@ -0,0 +1,3361 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <= 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 = 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 >= 0; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 != 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <> 0; +value +5.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t2; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t3; +value +4.5000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT AVG(c1) AS value FROM t4; +value +4.5000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0.0000 +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT AVG(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +4.5000 +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result new file mode 100644 index 00000000..96281c34 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result @@ -0,0 +1,3361 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 < 0; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <= 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 = 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 = 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 >= 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 >= 0; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 != 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t2; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 <=> 0; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t3; +value +10 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT COUNT(c1) AS value FROM t4; +value +10 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 <=> 0; +value +1 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NULL; +value +0 +SELECT COUNT(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +10 +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result new file mode 100644 index 00000000..15e78d88 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result @@ -0,0 +1,3361 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 >= 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 != 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <> 0; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t2; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t3; +value +9 +SELECT MAX(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MAX(c1) AS value FROM t4; +value +9 +SELECT MAX(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MAX(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +9 +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_max_subquery.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_max_subquery.result new file mode 100644 index 00000000..5f913985 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_max_subquery.result @@ -0,0 +1,91 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 TINYINT); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 SMALLINT); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 MEDIUMINT); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 INT); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 INTEGER); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 BIGINT); +INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9); +SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1; +c1 c2 c3 +a b 9 +SELECT c1,MAX(c3) FROM t1 GROUP BY c1; +c1 MAX(c3) +a 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1); +c1 c2 c3 +a b 9 +SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1); +c1 c2 c3 +a b 9 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result new file mode 100644 index 00000000..99366978 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result @@ -0,0 +1,3361 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 >= 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 != 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <> 0; +value +1 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t2; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t3; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT MIN(c1) AS value FROM t4; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT MIN(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +0 +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result b/mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result new file mode 100644 index 00000000..c887754e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result @@ -0,0 +1,3361 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 < 0; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <= 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 = 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 = 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 >= 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 >= 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 != 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 != 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <> 0; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t1 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t2; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 <=> 0; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t2 WHERE c1 IS NOT NULL; +value +NULL +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t3; +value +45 +SELECT SUM(c1) AS value FROM t3 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t3 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NULL); +CREATE TABLE t3(c1 TINYINT NOT NULL); +CREATE TABLE t4(c1 TINYINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NULL); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +CREATE TABLE t4(c1 SMALLINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NULL); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +CREATE TABLE t4(c1 MEDIUMINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NULL); +CREATE TABLE t3(c1 INT NOT NULL); +CREATE TABLE t4(c1 INT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NULL); +CREATE TABLE t3(c1 INTEGER NOT NULL); +CREATE TABLE t4(c1 INTEGER NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NULL); +CREATE TABLE t3(c1 BIGINT NOT NULL); +CREATE TABLE t4(c1 BIGINT NULL); +INSERT INTO t2 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t4 (c1) VALUES(NULL), (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +SELECT SUM(c1) AS value FROM t4; +value +45 +SELECT SUM(c1) AS value FROM t4 WHERE c1 <=> 0; +value +0 +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NULL; +value +NULL +SELECT SUM(c1) AS value FROM t4 WHERE c1 IS NOT NULL; +value +45 +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/general_no_data.result b/mysql-test/suite/engines/funcs/r/general_no_data.result new file mode 100644 index 00000000..c7c415ae --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/general_no_data.result @@ -0,0 +1,511 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +SELECT MAX(c1) AS value FROM t1; +value +NULL +SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +SELECT MIN(c1) AS value FROM t1; +value +NULL +SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +SELECT AVG(c1) AS value FROM t1; +value +NULL +SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +SELECT SUM(c1) AS value FROM t1; +value +NULL +SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +NULL +SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +NULL +SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +NULL +SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +NULL +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +SELECT COUNT(c1) AS value FROM t1; +value +0 +SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0; +postive_value +0 +SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0; +negative_value +0 +SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0; +zero_value +0 +SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2; +no_results +0 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/general_not_null.result b/mysql-test/suite/engines/funcs/r/general_not_null.result new file mode 100644 index 00000000..82dd4f3a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/general_not_null.result @@ -0,0 +1,661 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MAX(c1) AS value FROM t2; +value +16 +SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT MIN(c1) AS value FROM t2; +value +-9 +SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT AVG(c1) AS value FROM t2; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0.0000 +SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT SUM(c1) AS value FROM t2; +value +4 +SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +0 +SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +NULL +DROP TABLE t2; +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0); +INSERT INTO t2 (c1) VALUES(1); +INSERT INTO t2 (c1) VALUES(16); +INSERT INTO t2 (c1) VALUES(-4); +INSERT INTO t2 (c1) VALUES(-9); +SELECT COUNT(c1) AS value FROM t2; +value +5 +SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0; +zero_value +1 +SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2; +no_results +0 +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/general_null.result b/mysql-test/suite/engines/funcs/r/general_null.result new file mode 100644 index 00000000..291f4263 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/general_null.result @@ -0,0 +1,661 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TINYINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 SMALLINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INTEGER NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 BIGINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MAX(c1) AS value FROM t3; +value +16 +SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +16 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-4 +SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 TINYINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 SMALLINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INTEGER NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 BIGINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT MIN(c1) AS value FROM t3; +value +-9 +SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +1 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-9 +SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 TINYINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 SMALLINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INTEGER NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 BIGINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT AVG(c1) AS value FROM t3; +value +0.8000 +SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +8.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-6.5000 +SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 TINYINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 SMALLINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 INTEGER NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 BIGINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT SUM(c1) AS value FROM t3; +value +4 +SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +17 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +-13 +SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +NULL +DROP TABLE t3; +CREATE TABLE t3(c1 TINYINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; +CREATE TABLE t3(c1 SMALLINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; +CREATE TABLE t3(c1 INT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; +CREATE TABLE t3(c1 INTEGER NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; +CREATE TABLE t3(c1 BIGINT NULL); +INSERT INTO t3 (c1) VALUES(0); +INSERT INTO t3 (c1) VALUES(1); +INSERT INTO t3 (c1) VALUES(16); +INSERT INTO t3 (c1) VALUES(-4); +INSERT INTO t3 (c1) VALUES(-9); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +INSERT INTO t3 (c1) VALUES(NULL); +SELECT COUNT(c1) AS value FROM t3; +value +5 +SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0; +postive_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0; +negative_value +2 +SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2; +negative_value +0 +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_2_unique_constraints_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_calendar_2_unique_constraints_duplicate_update.result new file mode 100644 index 00000000..c68baf68 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_2_unique_constraints_duplicate_update.result @@ -0,0 +1,162 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NULL, c3 DATE NULL, PRIMARY KEY(c1), UNIQUE(c2)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-17 2007-02-19 +2007-02-14 2007-02-16 2007-02-13 +2007-02-15 2007-02-15 2007-02-19 +2007-02-16 2007-02-14 2007-02-13 +2007-02-17 2007-02-13 2007-02-13 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011; +SELECT * FROM t1; +c1 c2 c3 +2000 2004 2011 +2001 2003 2000 +2002 2002 2011 +2003 2001 2000 +2004 2000 2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NULL, c3 TIME NULL, PRIMARY KEY(c1), UNIQUE(c2)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +SELECT * FROM t1; +c1 c2 c3 +09:09:33 13:10:34 15:10:34 +10:10:34 12:10:34 09:09:33 +11:10:34 11:10:34 15:10:34 +12:10:34 10:10:34 09:09:33 +13:10:34 09:09:33 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011; +SELECT * FROM t1; +c1 c2 c3 +2000 2004 2011 +2001 2003 2000 +2002 2002 2011 +2003 2001 2000 +2004 2000 2000 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NULL, c3 DATETIME NULL, PRIMARY KEY(c1), UNIQUE(c2)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-17 13:10:34 2007-02-19 15:10:34 +2007-02-14 10:10:34 2007-02-16 12:10:34 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-19 15:10:34 +2007-02-16 12:10:34 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-17 13:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011; +SELECT * FROM t1; +c1 c2 c3 +2000 2004 2011 +2001 2003 2000 +2002 2002 2011 +2003 2001 2000 +2004 2000 2000 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..6e3f717e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_duplicate_update.result @@ -0,0 +1,93 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1; +c1 +2007-02-14 +2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1; +c1 +10:10:34 +11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_error.result new file mode 100644 index 00000000..4644894b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_error.result @@ -0,0 +1,95 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 +2007-02-14 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +09:09:33 +10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_ignore.result new file mode 100644 index 00000000..4644894b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_pk_constraint_ignore.result @@ -0,0 +1,95 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 +2007-02-14 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +09:09:33 +10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'PRIMARY' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..8af6ff6a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_duplicate_update.result @@ -0,0 +1,93 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1; +c1 +2007-02-14 +2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1; +c1 +10:10:34 +11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011; +SELECT * FROM t1; +c1 +2000 +2011 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_error.result new file mode 100644 index 00000000..c96cd4ba --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_error.result @@ -0,0 +1,95 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 +2007-02-14 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +09:09:33 +10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT INTO t1 (c1) VALUES(1999); +ERROR 23000: Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_ignore.result new file mode 100644 index 00000000..dac7dd50 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_calendar_unique_constraint_ignore.result @@ -0,0 +1,105 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT IGNORE INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Warning 1062 Duplicate entry '2007-02-13' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 +2007-02-14 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT IGNORE INTO t1 (c1) VALUES(1999); +Warnings: +Warning 1062 Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT IGNORE INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Warning 1062 Duplicate entry '09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +09:09:33 +10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT IGNORE INTO t1 (c1) VALUES(1999); +Warnings: +Warning 1062 Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT IGNORE INTO t1 (c1) VALUES(NOW()); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT IGNORE INTO t1 (c1) VALUES(1999); +Warnings: +Warning 1062 Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT IGNORE INTO t1 (c1) VALUES(NOW()); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33' for key 'c1' +SELECT * FROM t1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(1999); +INSERT INTO t1 (c1) VALUES(2000); +INSERT IGNORE INTO t1 (c1) VALUES(1999); +Warnings: +Warning 1062 Duplicate entry '1999' for key 'c1' +SELECT * FROM t1; +c1 +1999 +2000 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_enum_null.result b/mysql-test/suite/engines/funcs/r/in_enum_null.result new file mode 100644 index 00000000..2575ee4d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_enum_null.result @@ -0,0 +1,22 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); +INSERT INTO t7(c1) VALUES(NULL); +INSERT IGNORE INTO t7(c1) VALUES(''); +Warnings: +Warning 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t7(c1) VALUES('a'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT IGNORE INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +Warnings: +Warning 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +NULL + +a +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij + +SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL; +null_rows +0 +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_enum_null_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_enum_null_boundary_error.result new file mode 100644 index 00000000..48b29314 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_enum_null_boundary_error.result @@ -0,0 +1,16 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); +INSERT INTO t7(c1) VALUES(NULL); +INSERT INTO t7(c1) VALUES(''); +ERROR 01000: Data truncated for column 'c1' at row 1 +INSERT INTO t7(c1) VALUES('a'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +NULL +a +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_enum_null_large_error.result b/mysql-test/suite/engines/funcs/r/in_enum_null_large_error.result new file mode 100644 index 00000000..08a1c6b2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_enum_null_large_error.result @@ -0,0 +1,3 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 ENUM('','a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NULL); +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_insert_select.result b/mysql-test/suite/engines/funcs/r/in_insert_select.result new file mode 100644 index 00000000..b0998f3e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_insert_select.result @@ -0,0 +1,127 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +0 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; diff --git a/mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result b/mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result new file mode 100644 index 00000000..b72feadc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result @@ -0,0 +1,121 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +SELECT * FROM t2 ORDER BY c1; +c1 +1 +2 +3 +4 +5 +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +SELECT * FROM t2 ORDER BY c1; +c1 +3 +4 +5 +TRUNCATE TABLE t2; +DROP TABLE t1,t2; diff --git a/mysql-test/suite/engines/funcs/r/in_insert_select_unique_violation.result b/mysql-test/suite/engines/funcs/r/in_insert_select_unique_violation.result new file mode 100644 index 00000000..1d936421 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_insert_select_unique_violation.result @@ -0,0 +1,61 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5); +INSERT INTO t2 SELECT * FROM t1; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3; +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t2; +DROP TABLE t1,t2; diff --git a/mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result new file mode 100644 index 00000000..afee02c3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result @@ -0,0 +1,122 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TINYBLOB NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 BLOB NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMBLOB NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 LONGBLOB NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 TINYTEXT NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 TEXT NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 MEDIUMTEXT NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 LONGTEXT NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..209f6144 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_duplicate_update.result @@ -0,0 +1,177 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +2007-02-15 2007-02-15 2007-02-14 +2007-02-15 2007-02-15 2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +11:10:34 11:10:34 10:10:34 +11:10:34 11:10:34 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_error.result new file mode 100644 index 00000000..9c310d3d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_error.result @@ -0,0 +1,167 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-13 2007-02-13 +2007-02-13 2007-02-13 2007-02-14 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +09:09:33 09:09:33 09:09:33 +09:09:33 09:09:33 10:10:34 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_ignore.result new file mode 100644 index 00000000..9c310d3d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_pk_constraint_ignore.result @@ -0,0 +1,167 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-13 2007-02-13 +2007-02-13 2007-02-13 2007-02-14 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +09:09:33 09:09:33 09:09:33 +09:09:33 09:09:33 10:10:34 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..fe509a06 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_duplicate_update.result @@ -0,0 +1,177 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +2007-02-15 2007-02-15 2007-02-14 +2007-02-15 2007-02-15 2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +11:10:34 11:10:34 10:10:34 +11:10:34 11:10:34 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_error.result new file mode 100644 index 00000000..78b0e81c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_error.result @@ -0,0 +1,167 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-13 2007-02-13 +2007-02-13 2007-02-13 2007-02-14 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +09:09:33 09:09:33 09:09:33 +09:09:33 09:09:33 10:10:34 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_ignore.result new file mode 100644 index 00000000..228c7e77 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_calendar_unique_constraint_ignore.result @@ -0,0 +1,195 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Warning 1062 Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Warning 1062 Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-13 2007-02-13 +2007-02-13 2007-02-13 2007-02-14 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +Warnings: +Warning 1062 Duplicate entry '1999-1999-1999' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +Warnings: +Warning 1062 Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Warning 1062 Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Warning 1062 Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +09:09:33 09:09:33 09:09:33 +09:09:33 09:09:33 10:10:34 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +Warnings: +Warning 1062 Duplicate entry '1999-1999-1999' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +Warnings: +Warning 1062 Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +Warnings: +Warning 1062 Duplicate entry '1999-1999-1999' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +Warnings: +Warning 1062 Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Warning 1062 Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +Warnings: +Warning 1062 Duplicate entry '1999-1999-1999' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +Warnings: +Warning 1062 Duplicate entry '1999-1999-2000' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +1999 1999 1999 +1999 1999 2000 +1999 2000 1999 +2000 1999 1999 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..209f6144 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_duplicate_update.result @@ -0,0 +1,177 @@ +DROP TABLE IF EXISTS t1; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 2007-02-14 2007-02-13 +2007-02-14 2007-02-13 2007-02-13 +2007-02-15 2007-02-15 2007-02-14 +2007-02-15 2007-02-15 2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c1' at row 1 +Note 1265 Data truncated for column 'c2' at row 1 +SELECT * FROM t1; +c1 c2 c3 +09:09:33 10:10:34 09:09:33 +10:10:34 09:09:33 09:09:33 +11:10:34 11:10:34 10:10:34 +11:10:34 11:10:34 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3)); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW()); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01'); +INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1; +c1 c2 c3 +2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33 +2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34 +2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999); +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011; +INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011; +SELECT * FROM t1; +c1 c2 c3 +1999 2000 1999 +2000 1999 1999 +2011 2011 2000 +2011 2011 2011 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_error.result new file mode 100644 index 00000000..c249ba3e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_error.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NOT NULL, c3 DEC NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NOT NULL, c3 FIXED NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NOT NULL, c3 DOUBLE PRECISION NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_ignore.result new file mode 100644 index 00000000..c249ba3e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_pk_constraint_ignore.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NOT NULL, c3 DEC NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NOT NULL, c3 FIXED NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NOT NULL, c3 DOUBLE PRECISION NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..9002f107 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_duplicate_update.result @@ -0,0 +1,295 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 100 100 +10 11 10 +100 100 100 +100 100 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_error.result new file mode 100644 index 00000000..8a8f959d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_error.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +ERROR 23000: Duplicate entry '10-10-10' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +ERROR 23000: Duplicate entry '10-10-11' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +ERROR 23000: Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_ignore.result new file mode 100644 index 00000000..ae515320 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_number_unique_constraint_ignore.result @@ -0,0 +1,379 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11); +INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10); +Warnings: +Warning 1062 Duplicate entry '10-10-10' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11); +Warnings: +Warning 1062 Duplicate entry '10-10-11' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11); +Warnings: +Warning 1062 Duplicate entry '10-11-11' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +10 10 10 +10 10 11 +10 11 10 +10 11 11 +11 10 10 +11 10 11 +11 11 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..712a3db4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_duplicate_update.result @@ -0,0 +1,85 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT hex(c1), hex(c2), hex(c3) FROM t1; +hex(c1) hex(c2) hex(c3) +61626300000000000000 61626364656667000000 61626364656667000000 +61626300000000000000 64656600000000000000 61626300000000000000 +61626364656667000000 61626364656667000000 61626364656667000000 +61626364656667000000 61626364656667000000 64656600000000000000 +64656600000000000000 61626300000000000000 61626300000000000000 +64656600000000000000 61626300000000000000 64656600000000000000 +64656600000000000000 64656600000000000000 61626300000000000000 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_error.result new file mode 100644 index 00000000..ff161fba --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_error.result @@ -0,0 +1,97 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT hex(c1),hex(c2),hex(c3) FROM t1; +hex(c1) hex(c2) hex(c3) +616263 616263 616263 +616263 616263 646566 +616263 646566 616263 +616263 646566 646566 +646566 616263 616263 +646566 616263 646566 +646566 646566 616263 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT hex(c1),hex(c2),hex(c3) FROM t1; +hex(c1) hex(c2) hex(c3) +61626300000000000000 61626300000000000000 61626300000000000000 +61626300000000000000 61626300000000000000 64656600000000000000 +61626300000000000000 64656600000000000000 61626300000000000000 +61626300000000000000 64656600000000000000 64656600000000000000 +64656600000000000000 61626300000000000000 61626300000000000000 +64656600000000000000 61626300000000000000 64656600000000000000 +64656600000000000000 64656600000000000000 61626300000000000000 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_ignore.result new file mode 100644 index 00000000..c4d03026 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_pk_constraint_ignore.result @@ -0,0 +1,91 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..f6cea753 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_duplicate_update.result @@ -0,0 +1,85 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT hex(c1),hex(c2),hex(c3) FROM t1; +hex(c1) hex(c2) hex(c3) +61626300000000000000 61626364656667000000 61626364656667000000 +61626300000000000000 64656600000000000000 61626300000000000000 +61626364656667000000 61626364656667000000 61626364656667000000 +61626364656667000000 61626364656667000000 64656600000000000000 +64656600000000000000 61626300000000000000 61626300000000000000 +64656600000000000000 61626300000000000000 64656600000000000000 +64656600000000000000 64656600000000000000 61626300000000000000 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +abc abcdefg abcdefg +abc def abc +abcdefg abcdefg abcdefg +abcdefg abcdefg def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_error.result new file mode 100644 index 00000000..39e08f2f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_error.result @@ -0,0 +1,91 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1' +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_ignore.result new file mode 100644 index 00000000..cd4767d2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_multicolumn_string_unique_constraint_ignore.result @@ -0,0 +1,103 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-def' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-def' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-def' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3)); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def'); +INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-abc' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-abc-def' for key 'c1' +INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def'); +Warnings: +Warning 1062 Duplicate entry 'abc-def-def' for key 'c1' +SELECT * FROM t1; +c1 c2 c3 +abc abc abc +abc abc def +abc def abc +abc def def +def abc abc +def abc def +def def abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_2_unique_constraints_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_number_2_unique_constraints_duplicate_update.result new file mode 100644 index 00000000..fa171f7b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_2_unique_constraints_duplicate_update.result @@ -0,0 +1,225 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NULL, c3 TINYINT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NULL, c3 INT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NULL, c3 INTEGER NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NULL, c3 BIGINT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NULL, c3 DEC NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NULL, c3 FIXED NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NULL, c3 REAL NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NULL, c3 FLOAT NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10); +INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10); +INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10); +INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10); +INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100; +INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100; +SELECT * FROM t1; +c1 c2 c3 +10 14 100 +11 13 10 +12 12 100 +13 11 10 +14 10 10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_number_boundary_error.result new file mode 100644 index 00000000..b1c46a3a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_boundary_error.result @@ -0,0 +1,116 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYINT UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; +CREATE TABLE t4(c1 SMALLINT UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; +CREATE TABLE t4(c1 INT UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; +CREATE TABLE t4(c1 INTEGER UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; +CREATE TABLE t4(c1 BIGINT UNSIGNED NOT NULL); +INSERT INTO t4 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t4 (c1) VALUES('x'); +ERROR 22007: Incorrect integer value: 'x' for column `test`.`t4`.`c1` at row 1 +INSERT INTO t4 (c1) VALUES('9'); +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t4; diff --git a/mysql-test/suite/engines/funcs/r/in_number_decimal_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_number_decimal_boundary_error.result new file mode 100644 index 00000000..0c9ae545 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_decimal_boundary_error.result @@ -0,0 +1,82 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 DECIMAL(5,4) UNSIGNED NOT NULL); +INSERT INTO t5 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t5 (c1) VALUES('x'); +ERROR 22007: Incorrect decimal value: 'x' for column `test`.`t5`.`c1` at row 1 +INSERT INTO t5 (c1) VALUES(999999); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t5; +total_rows +1 +SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL; +not_null_rows +1 +DROP TABLE t5; +CREATE TABLE t5(c1 DEC(5,4) UNSIGNED NOT NULL); +INSERT INTO t5 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t5 (c1) VALUES('x'); +ERROR 22007: Incorrect decimal value: 'x' for column `test`.`t5`.`c1` at row 1 +INSERT INTO t5 (c1) VALUES(999999); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t5; +total_rows +1 +SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL; +not_null_rows +1 +DROP TABLE t5; +CREATE TABLE t5(c1 FIXED(5,4) UNSIGNED NOT NULL); +INSERT INTO t5 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t5 (c1) VALUES('x'); +ERROR 22007: Incorrect decimal value: 'x' for column `test`.`t5`.`c1` at row 1 +INSERT INTO t5 (c1) VALUES(999999); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t5; +total_rows +1 +SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL; +not_null_rows +1 +DROP TABLE t5; +CREATE TABLE t5(c1 NUMERIC(5,4) UNSIGNED NOT NULL); +INSERT INTO t5 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(-1); +ERROR 22003: Out of range value for column 'c1' at row 1 +INSERT INTO t5 (c1) VALUES('x'); +ERROR 22007: Incorrect decimal value: 'x' for column `test`.`t5`.`c1` at row 1 +INSERT INTO t5 (c1) VALUES(999999); +ERROR 22003: Out of range value for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t5; +total_rows +1 +SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL; +not_null_rows +1 +DROP TABLE t5; diff --git a/mysql-test/suite/engines/funcs/r/in_number_length.result b/mysql-test/suite/engines/funcs/r/in_number_length.result new file mode 100644 index 00000000..3cd0d3b8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_length.result @@ -0,0 +1,369 @@ +DROP TABLE IF EXISTS t4,t5; +CREATE TABLE t4(c1 DECIMAL(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 DECIMAL(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 DEC(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 DEC(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 FIXED(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 FIXED(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 NUMERIC(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 NUMERIC(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 DOUBLE(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 DOUBLE(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 REAL(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 REAL(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 DOUBLE PRECISION(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 DOUBLE PRECISION(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; +CREATE TABLE t4(c1 FLOAT(1,0) NOT NULL); +INSERT INTO t4 (c1) VALUES(0); +INSERT INTO t4 (c1) VALUES(1.0); +INSERT INTO t4 (c1) VALUES(-9.0); +SELECT * FROM t4; +c1 +0 +1 +-9 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t4; +CREATE TABLE t5(c1 FLOAT(5,4) NOT NULL); +INSERT INTO t5 (c1) VALUES(0); +INSERT INTO t5 (c1) VALUES(1.0); +INSERT INTO t5 (c1) VALUES(1.2345); +INSERT INTO t5 (c1) VALUES(-9.0); +INSERT INTO t5 (c1) VALUES(-9.12345); +SELECT * FROM t5; +c1 +0.0000 +1.0000 +1.2345 +-9.0000 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DROP TABLE t5; diff --git a/mysql-test/suite/engines/funcs/r/in_number_null.result b/mysql-test/suite/engines/funcs/r/in_number_null.result new file mode 100644 index 00000000..d31f20f5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_null.result @@ -0,0 +1,133 @@ +DROP TABLE IF EXISTS t6; +CREATE TABLE t6(c1 TINYINT UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; +CREATE TABLE t6(c1 SMALLINT UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; +CREATE TABLE t6(c1 MEDIUMINT UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; +CREATE TABLE t6(c1 INT UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; +CREATE TABLE t6(c1 INTEGER UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; +CREATE TABLE t6(c1 BIGINT UNSIGNED NULL); +INSERT INTO t6 (c1) VALUES(NULL); +INSERT INTO t6 (c1) VALUES(0); +INSERT INTO t6 (c1) VALUES(255); +SELECT * FROM t6; +c1 +NULL +0 +255 +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t6; diff --git a/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..25499573 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_duplicate_update.result @@ -0,0 +1,127 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_error.result new file mode 100644 index 00000000..73568d80 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_error.result @@ -0,0 +1,141 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_ignore.result new file mode 100644 index 00000000..86d9c81d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_pk_constraint_ignore.result @@ -0,0 +1,155 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'PRIMARY' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..1022e495 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_duplicate_update.result @@ -0,0 +1,127 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100; +SELECT * FROM t1; +c1 +100 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_error.result new file mode 100644 index 00000000..807eb009 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_error.result @@ -0,0 +1,141 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT INTO t1 (c1) VALUES(10); +ERROR 23000: Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_ignore.result new file mode 100644 index 00000000..994494d8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_number_unique_constraint_ignore.result @@ -0,0 +1,155 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DECIMAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DEC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FIXED NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 NUMERIC NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 REAL NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 DOUBLE PRECISION NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; +CREATE TABLE t1(c1 FLOAT NULL UNIQUE); +INSERT INTO t1 (c1) VALUES(10); +INSERT INTO t1 (c1) VALUES(11); +INSERT IGNORE INTO t1 (c1) VALUES(10); +Warnings: +Warning 1062 Duplicate entry '10' for key 'c1' +SELECT * FROM t1; +c1 +10 +11 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_set_null.result b/mysql-test/suite/engines/funcs/r/in_set_null.result new file mode 100644 index 00000000..8ceedb5c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_set_null.result @@ -0,0 +1,22 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); +INSERT INTO t7(c1) VALUES(NULL); +INSERT INTO t7(c1) VALUES(''); +INSERT INTO t7(c1) VALUES('a'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT IGNORE INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +Warnings: +Warning 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +SELECT * FROM t7; +c1 +NULL + +a +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij + +a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL; +null_rows +0 +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_set_null_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_set_null_boundary_error.result new file mode 100644 index 00000000..372003e5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_set_null_boundary_error.result @@ -0,0 +1,21 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); +INSERT INTO t7(c1) VALUES(NULL); +INSERT INTO t7(c1) VALUES(''); +INSERT INTO t7(c1) VALUES('a'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +ERROR 01000: Data truncated for column 'c1' at row 1 +INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +SELECT * FROM t7; +c1 +NULL + +a +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL; +null_rows +0 +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_set_null_large.result b/mysql-test/suite/engines/funcs/r/in_set_null_large.result new file mode 100644 index 00000000..c41a4c9a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_set_null_large.result @@ -0,0 +1,24 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 SET('','a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NULL); +INSERT INTO t7(c1) VALUES(NULL); +INSERT INTO t7(c1) VALUES(''); +INSERT INTO t7(c1) VALUES('a'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh'); +INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); +INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh'); +SELECT * FROM t7; +c1 +NULL + +a +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh +a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij +a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh +SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL; +null_rows +0 +DROP TABLE t7; diff --git a/mysql-test/suite/engines/funcs/r/in_string_2_unique_constraints_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_string_2_unique_constraints_duplicate_update.result new file mode 100644 index 00000000..208339f2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_string_2_unique_constraints_duplicate_update.result @@ -0,0 +1,65 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES('a','e','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('b','d','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('d','b','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('e','a','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('a','a','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +a e abcdefg +b d abc +c c abcdefg +d b abc +e a abc +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES('a','e','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('b','d','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('d','b','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('e','a','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('a','a','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +a e abcdefg +b d abc +c c abcdefg +d b abc +e a abc +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES('a','e','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('b','d','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('d','b','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('e','a','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('a','a','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +SELECT hex(c1),hex(c2),hex(c3) FROM t1; +hex(c1) hex(c2) hex(c3) +61000000000000000000 65000000000000000000 61626364656667000000 +62000000000000000000 64000000000000000000 61626300000000000000 +63000000000000000000 63000000000000000000 61626364656667000000 +64000000000000000000 62000000000000000000 61626300000000000000 +65000000000000000000 61000000000000000000 61626300000000000000 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, PRIMARY KEY (c1), UNIQUE (c2)); +INSERT INTO t1 (c1,c2,c3) VALUES('a','e','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('b','d','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('d','b','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('e','a','abc'); +INSERT INTO t1 (c1,c2,c3) VALUES('c','c','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +INSERT INTO t1 (c1,c2,c3) VALUES('a','a','abc') ON DUPLICATE KEY UPDATE c3='abcdefg'; +SELECT * FROM t1; +c1 c2 c3 +a e abcdefg +b d abc +c c abcdefg +d b abc +e a abc +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/in_string_boundary_error.result b/mysql-test/suite/engines/funcs/r/in_string_boundary_error.result new file mode 100644 index 00000000..d03c89f5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_string_boundary_error.result @@ -0,0 +1,70 @@ +SET SQL_MODE="TRADITIONAL,ANSI"; +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 CHAR(100) NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +INSERT INTO t3 (c1) VALUES('123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.x'); +ERROR 22001: Data too long for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 VARCHAR(100) NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +INSERT INTO t3 (c1) VALUES('123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.x'); +ERROR 22001: Data too long for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 BINARY(100) NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +INSERT INTO t3 (c1) VALUES('123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.x'); +ERROR 22001: Data too long for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; +CREATE TABLE t3(c1 VARBINARY(100) NOT NULL); +INSERT INTO t3 (c1) VALUES(NULL); +ERROR 23000: Column 'c1' cannot be null +INSERT INTO t3 (c1) VALUES('x'); +INSERT INTO t3 (c1) VALUES(''); +INSERT INTO t3 (c1) VALUES('123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.x'); +ERROR 22001: Data too long for column 'c1' at row 1 +SELECT COUNT(c1) AS total_rows FROM t3; +total_rows +2 +SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL; +not_null_rows +2 +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/in_string_not_null.result b/mysql-test/suite/engines/funcs/r/in_string_not_null.result new file mode 100644 index 00000000..e1054903 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_not_null.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_null.result b/mysql-test/suite/engines/funcs/r/in_string_null.result new file mode 100644 index 00000000..c08cef54 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_null.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_duplicate_update.result new file mode 100644 index 00000000..18f95570 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_duplicate_update.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_error.result new file mode 100644 index 00000000..7f60b844 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_error.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_ignore.result new file mode 100644 index 00000000..db19394d Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_pk_constraint_ignore.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_set_enum_fail.result b/mysql-test/suite/engines/funcs/r/in_string_set_enum_fail.result new file mode 100644 index 00000000..a1f26d8c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/in_string_set_enum_fail.result @@ -0,0 +1,41 @@ +DROP TABLE IF EXISTS t7; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t7(c1 SET('a','b','c') NULL); +INSERT INTO t7(c1) VALUES('abc'); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(123); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(0x878A); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(NOW()); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +DROP TABLE t7; +SET SQL_MODE=''; +SET SQL_MODE='TRADITIONAL'; +CREATE TABLE t7(c1 ENUM('a','b','c') NULL); +INSERT INTO t7(c1) VALUES('abc'); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(123); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(0x878A); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +INSERT INTO t7(c1) VALUES(NOW()); +ERROR 01000: Data truncated for column 'c1' at row 1 +SELECT * FROM t7; +c1 +DROP TABLE t7; +SET SQL_MODE=''; diff --git a/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_duplicate_update.result b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_duplicate_update.result new file mode 100644 index 00000000..558976b6 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_duplicate_update.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_error.result b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_error.result new file mode 100644 index 00000000..42be5313 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_error.result differ diff --git a/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_ignore.result b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_ignore.result new file mode 100644 index 00000000..df3a8b6a Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/in_string_unique_constraint_ignore.result differ diff --git a/mysql-test/suite/engines/funcs/r/ix_drop.result b/mysql-test/suite/engines/funcs/r/ix_drop.result new file mode 100644 index 00000000..c003f7e8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_drop.result @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS t8; +CREATE TABLE t8(c1 INTEGER NOT NULL); +CREATE INDEX i1 ON t8(c1); +DROP INDEX i1 ON t8; +DROP TABLE t8; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_drop_error.result b/mysql-test/suite/engines/funcs/r/ix_drop_error.result new file mode 100644 index 00000000..61d9fa69 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_drop_error.result @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 INTEGER NOT NULL); +DROP INDEX i1 ON t9; +ERROR 42000: Can't DROP INDEX `i1`; check that it exists +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_index_decimals.result b/mysql-test/suite/engines/funcs/r/ix_index_decimals.result new file mode 100644 index 00000000..b4797c28 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_index_decimals.result @@ -0,0 +1,281 @@ +DROP TABLE IF EXISTS t6,t7; +CREATE TABLE t6(c1 REAL(1,0) NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 REAL(5,4) NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DOUBLE(1,0) NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DOUBLE(5,4) NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FLOAT(1,0) NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` float(1,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FLOAT(5,4) NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` float(5,4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DECIMAL(1,0) NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 REAL(1,0) NOT NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 REAL(5,4) NOT NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DOUBLE(1,0) NOT NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DOUBLE(5,4) NOT NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FLOAT(1,0) NOT NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` float(1,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FLOAT(5,4) NOT NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` float(5,4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DECIMAL(1,0) NOT NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NOT NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NOT NULL); +CREATE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NOT NULL); +CREATE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_index_lob.result b/mysql-test/suite/engines/funcs/r/ix_index_lob.result new file mode 100644 index 00000000..00be3cc8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_index_lob.result @@ -0,0 +1,225 @@ +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYBLOB NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyblob DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BLOB NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` blob DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMBLOB NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumblob DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGBLOB NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longblob DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYTEXT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinytext DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TEXT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` text DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMTEXT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumtext DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGTEXT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longtext DEFAULT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYBLOB NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyblob NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BLOB NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` blob NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMBLOB NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumblob NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGBLOB NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longblob NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYTEXT NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinytext NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TEXT NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` text NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMTEXT NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumtext NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGTEXT NOT NULL); +CREATE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longtext NOT NULL, + KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_index_non_string.result b/mysql-test/suite/engines/funcs/r/ix_index_non_string.result new file mode 100644 index 00000000..f56fe4f8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_index_non_string.result @@ -0,0 +1,449 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +CREATE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_index_string.result b/mysql-test/suite/engines/funcs/r/ix_index_string.result new file mode 100644 index 00000000..aeb882e1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_index_string.result @@ -0,0 +1,113 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 CHAR(50) NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(50) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(50) NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(50) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(50) NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(50) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(50) NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(50) DEFAULT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 CHAR(50) NOT NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(50) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(50) NOT NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(50) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(50) NOT NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(50) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(50) NOT NULL); +CREATE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(50) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_index_string_length.result b/mysql-test/suite/engines/funcs/r/ix_index_string_length.result new file mode 100644 index 00000000..7624927b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_index_string_length.result @@ -0,0 +1,113 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 CHAR(50) NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` char(50) DEFAULT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARCHAR(50) NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varchar(50) DEFAULT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BINARY(50) NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` binary(50) DEFAULT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARBINARY(50) NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varbinary(50) DEFAULT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 CHAR(50) NOT NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` char(50) NOT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARCHAR(50) NOT NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varchar(50) NOT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BINARY(50) NOT NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` binary(50) NOT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARBINARY(50) NOT NULL); +CREATE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varbinary(50) NOT NULL, + KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_unique_decimals.result b/mysql-test/suite/engines/funcs/r/ix_unique_decimals.result new file mode 100644 index 00000000..42849fb2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_unique_decimals.result @@ -0,0 +1,281 @@ +DROP TABLE IF EXISTS t6,t7; +CREATE TABLE t6(c1 REAL(1,0) NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 REAL(5,4) NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DOUBLE(1,0) NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DOUBLE(5,4) NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FLOAT(1,0) NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` float(1,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FLOAT(5,4) NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` float(5,4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DECIMAL(1,0) NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 REAL(1,0) NOT NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 REAL(5,4) NOT NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DOUBLE(1,0) NOT NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` double(1,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DOUBLE(5,4) NOT NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` double(5,4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FLOAT(1,0) NOT NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` float(1,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FLOAT(5,4) NOT NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` float(5,4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DECIMAL(1,0) NOT NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NOT NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NOT NULL); +CREATE UNIQUE INDEX i1 ON t6(c1); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NOT NULL); +CREATE UNIQUE INDEX i1 ON t7(c1); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_unique_lob.result b/mysql-test/suite/engines/funcs/r/ix_unique_lob.result new file mode 100644 index 00000000..18c12971 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_unique_lob.result @@ -0,0 +1,225 @@ +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYBLOB NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyblob DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BLOB NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` blob DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMBLOB NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumblob DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGBLOB NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longblob DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYTEXT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinytext DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TEXT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` text DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMTEXT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumtext DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGTEXT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longtext DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYBLOB NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyblob NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BLOB NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` blob NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMBLOB NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumblob NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGBLOB NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longblob NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYTEXT NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinytext NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TEXT NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` text NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMTEXT NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumtext NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 LONGTEXT NOT NULL); +CREATE UNIQUE INDEX i1 ON t4(c1(100)); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` longtext NOT NULL, + UNIQUE KEY `i1` (`c1`(100)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_unique_non_string.result b/mysql-test/suite/engines/funcs/r/ix_unique_non_string.result new file mode 100644 index 00000000..9f10a9bf --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_unique_non_string.result @@ -0,0 +1,449 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +CREATE UNIQUE INDEX i1 ON t1(c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_unique_string.result b/mysql-test/suite/engines/funcs/r/ix_unique_string.result new file mode 100644 index 00000000..debbe2f7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_unique_string.result @@ -0,0 +1,113 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 CHAR(50) NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(50) NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(50) NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(50) NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 CHAR(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(50) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(50) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(50) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t2(c1); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(50) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_unique_string_length.result b/mysql-test/suite/engines/funcs/r/ix_unique_string_length.result new file mode 100644 index 00000000..d864ce00 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_unique_string_length.result @@ -0,0 +1,113 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 CHAR(50) NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` char(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARCHAR(50) NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varchar(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BINARY(50) NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` binary(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARBINARY(50) NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varbinary(50) DEFAULT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 CHAR(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` char(50) NOT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARCHAR(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varchar(50) NOT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BINARY(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` binary(50) NOT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 VARBINARY(50) NOT NULL); +CREATE UNIQUE INDEX i1 ON t3(c1(10)); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` varbinary(50) NOT NULL, + UNIQUE KEY `i1` (`c1`(10)) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ix_using_order.result b/mysql-test/suite/engines/funcs/r/ix_using_order.result new file mode 100644 index 00000000..02b34dd4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ix_using_order.result @@ -0,0 +1,96 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE INDEX i1 USING BTREE ON t1(c1 ASC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE INDEX i1 USING BTREE ON t1(c1 DESC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1` DESC) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE UNIQUE INDEX i1 USING BTREE ON t1(c1 ASC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE UNIQUE INDEX i1 USING BTREE ON t1(c1 DESC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1` DESC) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE INDEX i1 USING HASH ON t1(c1 ASC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE INDEX i1 USING HASH ON t1(c1 DESC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE UNIQUE INDEX i1 USING HASH ON t1(c1 ASC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE UNIQUE INDEX i1 USING HASH ON t1(c1 DESC); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP INDEX i1 ON t1; +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/jp_comment_column.result b/mysql-test/suite/engines/funcs/r/jp_comment_column.result new file mode 100644 index 00000000..49f74ea7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/jp_comment_column.result @@ -0,0 +1,394 @@ +DROP TABLE IF EXISTS t1; +set names cp932; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', c2 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 ADD COLUMN c8 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 ADD COLUMN c9 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c9` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 ADD COLUMN c10 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c9` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 MODIFY COLUMN c8 CHAR(10); +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 CHANGE COLUMN c9 c9_1 INTEGER COMMENT '1234567890'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 DROP COLUMN c1; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +ALTER TABLE t1 ADD COLUMN c11 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +Warnings: +Warning 1629 Comment for field 'c11' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c11` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +set sql_mode='TRADITIONAL'; +ALTER TABLE t1 ADD COLUMN c12 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +ERROR HY000: Comment for field 'c12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c11` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +set sql_mode=''; +ALTER TABLE t1 ADD COLUMN c12 CHAR(100) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 +1234567890 10 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` char(10) DEFAULT NULL, + `c9_1` int(11) DEFAULT NULL COMMENT '1234567890', + `c10` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c11` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c12` char(100) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +drop table t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', c2 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +Warnings: +Warning 1629 Comment for field 'c2' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +DROP TABLE t1; +set sql_mode='TRADITIONAL'; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', c2 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +ERROR HY000: Comment for field 'c2' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) diff --git a/mysql-test/suite/engines/funcs/r/jp_comment_index.result b/mysql-test/suite/engines/funcs/r/jp_comment_index.result new file mode 100644 index 00000000..a40d0185 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/jp_comment_index.result @@ -0,0 +1,485 @@ +DROP TABLE IF EXISTS t1; +set names cp932; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', c2 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, c8 VARCHAR(100), c9 CHAR(50), c10 DATETIME, c11 DATETIME, c12 DATETIME,c13 DATETIME, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +CREATE INDEX i4 ON t1(c4) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`), + KEY `i4` (`c4`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 ADD INDEX (c6) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + i1 comment 10 + 0 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`), + KEY `i4` (`c4`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +DROP INDEX i1 ON t1; +ALTER TABLE t1 DROP INDEX i2, DROP INDEX i4; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +ALTER TABLE t1 ADD INDEX i8(c8) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', ADD INDEX i10(c10) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +CREATE INDEX i1_3 ON t1(c1,c2,c3) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +SET STATEMENT sql_mode = '' FOR +CREATE INDEX i11 ON t1(c11) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +Warnings: +Warning 1688 Comment for index 'i11' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i11` (`c11`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +ALTER TABLE t1 ADD INDEX (c13) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +Warnings: +Warning 1688 Comment for index 'c13' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i11` (`c11`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `c13` (`c13`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +set sql_mode='TRADITIONAL'; +ALTER TABLE t1 ADD INDEX i12 (c12) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +ERROR HY000: Comment for index 'i12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i11` (`c11`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `c13` (`c13`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +set sql_mode='TRADITIONAL'; +CREATE INDEX i12 ON t1(c12) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +ERROR HY000: Comment for index 'i12' is too long (max = 1024) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 300 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +SELECT comment,index_comment,char_length(index_comment) FROM information_schema.statistics WHERE table_name='t1'; +comment index_comment char_length(index_comment) + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 + ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c2` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + `c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + `c8` varchar(100) DEFAULT NULL, + `c9` char(50) DEFAULT NULL, + `c10` datetime DEFAULT NULL, + `c11` datetime DEFAULT NULL, + `c12` datetime DEFAULT NULL, + `c13` datetime DEFAULT NULL, + KEY `c6` (`c6`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i8` (`c8`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i10` (`c10`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i1_3` (`c1`,`c2`,`c3`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `i11` (`c11`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦', + KEY `c13` (`c13`) COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/jp_comment_older_compatibility1.result b/mysql-test/suite/engines/funcs/r/jp_comment_older_compatibility1.result new file mode 100644 index 00000000..220e1a74 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/jp_comment_older_compatibility1.result @@ -0,0 +1,136 @@ +DROP TABLE IF EXISTS t1; +SET NAMES cp932; +CREATE TABLE t1 (c1 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c12 INTEGER, c13 DATETIME, c14 CHAR(10), PRIMARY KEY(c1), INDEX(c12,c13)) COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR 60 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c12` int(11) DEFAULT NULL, + `c13` datetime DEFAULT NULL, + `c14` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`), + KEY `c12` (`c12`,`c13`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR' +ALTER TABLE t1 ADD COLUMN c2 INTEGER COMMENT 'ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±'; +ALTER TABLE t1 ADD COLUMN c3 INTEGER COMMENT '‚ ƒC‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±'; +ALTER TABLE t1 ADD COLUMN c4 INTEGER COMMENT '‚ ‚¢ƒE‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±'; +ALTER TABLE t1 ADD COLUMN c5 INTEGER COMMENT '‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR 60 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 + 0 + 0 +ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +‚ ƒC‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +‚ ‚¢ƒE‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c12` int(11) DEFAULT NULL, + `c13` datetime DEFAULT NULL, + `c14` char(10) DEFAULT NULL, + `c2` int(11) DEFAULT NULL COMMENT 'ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c3` int(11) DEFAULT NULL COMMENT '‚ ƒC‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c4` int(11) DEFAULT NULL COMMENT '‚ ‚¢ƒE‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c5` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + PRIMARY KEY (`c1`), + KEY `c12` (`c12`,`c13`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR' +ALTER TABLE t1 MODIFY COLUMN c3 CHAR(10); +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR 60 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 + 0 + 0 +ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 +‚ ‚¢ƒE‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c12` int(11) DEFAULT NULL, + `c13` datetime DEFAULT NULL, + `c14` char(10) DEFAULT NULL, + `c2` int(11) DEFAULT NULL COMMENT 'ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c3` char(10) DEFAULT NULL, + `c4` int(11) DEFAULT NULL COMMENT '‚ ‚¢ƒE‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c5` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + PRIMARY KEY (`c1`), + KEY `c12` (`c12`,`c13`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR' +ALTER TABLE t1 CHANGE COLUMN c4 c4_1 INTEGER COMMENT '‚³‚µ‚·‚¹‚»‚½‚¿‚‚ĂÆ'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR 60 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 + 0 + 0 +ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 +‚³‚µ‚·‚¹‚»‚½‚¿‚Â‚Ä‚Æ 10 +‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c12` int(11) DEFAULT NULL, + `c13` datetime DEFAULT NULL, + `c14` char(10) DEFAULT NULL, + `c2` int(11) DEFAULT NULL COMMENT 'ƒA‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c3` char(10) DEFAULT NULL, + `c4_1` int(11) DEFAULT NULL COMMENT '‚³‚µ‚·‚¹‚»‚½‚¿‚‚ĂÆ', + `c5` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + PRIMARY KEY (`c1`), + KEY `c12` (`c12`,`c13`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR' +ALTER TABLE t1 DROP COLUMN c2; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR 60 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 + 0 + 0 + 0 + 0 +‚³‚µ‚·‚¹‚»‚½‚¿‚Â‚Ä‚Æ 10 +‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 60 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c12` int(11) DEFAULT NULL, + `c13` datetime DEFAULT NULL, + `c14` char(10) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + `c4_1` int(11) DEFAULT NULL COMMENT '‚³‚µ‚·‚¹‚»‚½‚¿‚‚ĂÆ', + `c5` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤ƒG‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + PRIMARY KEY (`c1`), + KEY `c12` (`c12`,`c13`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='ƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒRƒAƒCƒEƒGƒIƒJƒLƒNƒPƒR' +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/jp_comment_table.result b/mysql-test/suite/engines/funcs/r/jp_comment_table.result new file mode 100644 index 00000000..9259bca0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/jp_comment_table.result @@ -0,0 +1,126 @@ +DROP TABLE IF EXISTS t1; +SET NAMES cp932; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨ ‚©‚«‚­‚¯‚±', c2 INTEGER,c3 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 1024 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +‚ ‚¢‚¤‚¦‚¨ ‚©‚«‚­‚¯‚± 11 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨ ‚©‚«‚­‚¯‚±', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +drop table t1; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨ 1025 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨' +drop table t1; +set sql_mode=''; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦'; +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 2048 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +drop table t1; +set sql_mode=''; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨'; +Warnings: +Warning 1628 Comment for table 't1' is too long (max = 2048) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦ 2048 +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) +c1 comment 10 + 0 +‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± 300 + 0 + 0 + 0 + 0 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) NOT NULL COMMENT 'c1 comment', + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', + `c4` int(11) DEFAULT NULL, + `c5` int(11) DEFAULT NULL, + `c6` int(11) DEFAULT NULL, + `c7` int(11) DEFAULT NULL, + KEY `i1` (`c1`) COMMENT 'i1 comment', + KEY `i2` (`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦' +drop table t1; +set sql_mode='TRADITIONAL'; +create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) COMMENT 'i1 comment',INDEX i2(c2) +) COMMENT='‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±‚ ‚¢‚¤‚¦‚¨'; +ERROR HY000: Comment for table 't1' is too long (max = 2048) +SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1'; +table_comment char_length(table_comment) +SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1'; +column_comment char_length(column_comment) diff --git a/mysql-test/suite/engines/funcs/r/ld_all_number_string_calendar_types.result b/mysql-test/suite/engines/funcs/r/ld_all_number_string_calendar_types.result new file mode 100644 index 00000000..4776a3ac --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_all_number_string_calendar_types.result @@ -0,0 +1,15457 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 CHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 BINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DEC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FIXED NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 DOUBLE PRECISION NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATE); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 +2 def 2007-02-14 +3 ghi 2007-02-14 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Note 1265 Data truncated for column 'c3' at row 1 +Note 1265 Data truncated for column 'c3' at row 2 +Note 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 14:38:37 +2 def 14:38:38 +3 ghi 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 TIMESTAMP); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA CONCURRENT INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 VARBINARY(10), c3 YEAR); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1265 Data truncated for column 'c3' at row 1 +Warning 1265 Data truncated for column 'c3' at row 2 +Warning 1265 Data truncated for column 'c3' at row 3 +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +TRUNCATE TABLE t1; +LOAD DATA LOW_PRIORITY INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '"' OPTIONALLY ENCLOSED BY ':' LINES TERMINATED BY '\r\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007 +2 def 2007 +3 ghi 2007 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_bit.result b/mysql-test/suite/engines/funcs/r/ld_bit.result new file mode 100644 index 00000000..cc23f167 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_bit.result @@ -0,0 +1,17 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 BIT(10) NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_bit.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' ENCLOSED BY '\'' LINES TERMINATED BY '\n' (@var1,c2,c3) SET c1= CAST(@var1 AS SIGNED); +SELECT CAST(c1 AS SIGNED),c2,c3 INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '\'' FROM t1; +SELECT BIN(c1),c2,c3 FROM t1; +BIN(c1) c2 c3 +10 abc 2007-02-14 14:38:37 +1100100 def 2007-02-14 14:38:38 +1111111 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '\'' (@var1,c2,c3) SET c1= CAST(@var1 AS SIGNED); +SELECT BIN(c1),c2,c3 FROM t1; +BIN(c1) c2 c3 +10 abc 2007-02-14 14:38:37 +1100100 def 2007-02-14 14:38:38 +1111111 ghi 2007-02-14 14:38:39 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_enum_set.result b/mysql-test/suite/engines/funcs/r/ld_enum_set.result new file mode 100644 index 00000000..329f64c3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_enum_set.result @@ -0,0 +1,19 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INT PRIMARY KEY, c2 ENUM('abc','def','ghi'), c3 SET ('jkl','mno','pqr')); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_enum_set.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' ENCLOSED BY '\'' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FIELDS ENCLOSED BY '\'' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc jkl,mno +2 def jkl +3 ghi +4 ghi jkl,mno,pqr +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 FIELDS ENCLOSED BY '\''; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc jkl,mno +2 def jkl +3 ghi +4 ghi jkl,mno,pqr +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_less_columns.result b/mysql-test/suite/engines/funcs/r/ld_less_columns.result new file mode 100644 index 00000000..a9668305 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_less_columns.result @@ -0,0 +1,21 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_less_columns.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1261 Row 3 doesn't contain data for all columns +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 NULL +4 ghi +TRUNCATE TABLE t1; +Warnings: +Warning 1261 Row 3 doesn't contain data for all columns +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 NULL +4 ghi +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_more_columns_truncated.result b/mysql-test/suite/engines/funcs/r/ld_more_columns_truncated.result new file mode 100644 index 00000000..582fdedd --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_more_columns_truncated.result @@ -0,0 +1,21 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_more_columns.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1262 Row 3 was truncated; it contained more data than there were input columns +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 aa +4 efg +TRUNCATE TABLE t1; +Warnings: +Warning 1262 Row 3 was truncated; it contained more data than there were input columns +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 aa +4 efg +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_null.result b/mysql-test/suite/engines/funcs/r/ld_null.result new file mode 100644 index 00000000..d2dd7d3b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_null.result @@ -0,0 +1,30 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_null.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 NULL NULL +2 NULL NULL +3 NULL NULL +TRUNCATE TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 NULL NULL +2 NULL NULL +3 NULL NULL +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_null2.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' ESCAPED BY '\'' LINES TERMINATED BY '\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 NULL NULL +2 NULL NULL +3 NULL NULL +TRUNCATE TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 NULL NULL +2 NULL NULL +3 NULL NULL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_quote.result b/mysql-test/suite/engines/funcs/r/ld_quote.result new file mode 100644 index 00000000..fc8e3bb2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_quote.result @@ -0,0 +1,19 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10)); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_quote.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' ENCLOSED BY '\'' LINES TERMINATED BY '\n'; +Warnings: +Warning 1262 Row 3 was truncated; it contained more data than there were input columns +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def,ghi +3 "aa +4 efg +TRUNCATE TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def,ghi +3 "aa +4 efg +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_simple.result b/mysql-test/suite/engines/funcs/r/ld_simple.result new file mode 100644 index 00000000..b7a5f9e1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_simple.result @@ -0,0 +1,17 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_simple.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * INTO OUTFILE '../../tmp/t1.dat' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +1 abc 2007-02-14 14:38:37 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_starting.result b/mysql-test/suite/engines/funcs/r/ld_starting.result new file mode 100644 index 00000000..ddf28874 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_starting.result @@ -0,0 +1,15 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 VARCHAR(10), c3 DATETIME); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_starting.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES STARTING BY 'start' TERMINATED BY '\n'; +SELECT CONCAT('xxxstart',c1),c2,c3 INTO OUTFILE '../../tmp/t1.dat' FROM t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +TRUNCATE TABLE t1; +LOAD DATA INFILE '../../tmp/t1.dat' INTO TABLE t1 LINES STARTING BY 'start'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 c3 +2 def 2007-02-14 14:38:38 +3 ghi 2007-02-14 14:38:39 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error1.result b/mysql-test/suite/engines/funcs/r/ld_unique_error1.result new file mode 100644 index 00000000..87f739f1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error1.result @@ -0,0 +1,20 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t1; +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 ghi +4 opq +TRUNCATE TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 jkl +4 opq +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error1_local.result b/mysql-test/suite/engines/funcs/r/ld_unique_error1_local.result new file mode 100644 index 00000000..1b8abc9a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error1_local.result @@ -0,0 +1,32 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 ghi +4 opq +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' IGNORE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 ghi +4 opq +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' REPLACE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 jkl +4 opq +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error2.result b/mysql-test/suite/engines/funcs/r/ld_unique_error2.result new file mode 100644 index 00000000..cc695980 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error2.result @@ -0,0 +1,27 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +INSERT INTO t1 VALUES(3,'a'); +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(3,'a'); +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 a +4 opq +TRUNCATE TABLE t1; +INSERT INTO t1 VALUES(3,'a'); +SELECT * FROM t1; +c1 c2 +3 a +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 jkl +4 opq +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error2_local.result b/mysql-test/suite/engines/funcs/r/ld_unique_error2_local.result new file mode 100644 index 00000000..cabbfb5a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error2_local.result @@ -0,0 +1,35 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +INSERT INTO t1 VALUES(3,'a'); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error2.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 a +4 jkl +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +INSERT INTO t1 VALUES(3,'a'); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error2.inc' IGNORE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +Warnings: +Warning 1062 Duplicate entry '3' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 a +4 jkl +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +INSERT INTO t1 VALUES(3,'a'); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error2.inc' REPLACE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 abc +2 def +3 ghi +4 jkl +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error3.result b/mysql-test/suite/engines/funcs/r/ld_unique_error3.result new file mode 100644 index 00000000..659d3293 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error3.result @@ -0,0 +1,28 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SHOW TABLES; +Tables_in_test +t1 +ERROR 23000: Duplicate entry '1' for key 'PRIMARY' +TRUNCATE TABLE t1; +Warnings: +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '0' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 def +1 abc +TRUNCATE TABLE t1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 opq +1 jkl +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ld_unique_error3_local.result b/mysql-test/suite/engines/funcs/r/ld_unique_error3_local.result new file mode 100644 index 00000000..2ad8ffe9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ld_unique_error3_local.result @@ -0,0 +1,30 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (@c1,c2) SET c1 = @c1 % 2; +Warnings: +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '0' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 def +1 abc +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' IGNORE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (@c1,c2) SET c1 = @c1 % 2; +Warnings: +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +Warning 1062 Duplicate entry '0' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 def +1 abc +DROP TABLE t1; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT); +LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' REPLACE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (@c1,c2) SET c1 = @c1 % 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 opq +1 jkl +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/ps_number_length.result b/mysql-test/suite/engines/funcs/r/ps_number_length.result new file mode 100644 index 00000000..6ae04181 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ps_number_length.result @@ -0,0 +1,1593 @@ +DROP TABLE IF EXISTS t4,t5; +CREATE TABLE t4(c1 DECIMAL(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 DECIMAL(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 DEC(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 DEC(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 FIXED(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 FIXED(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 NUMERIC(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 NUMERIC(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1235 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1235 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 DOUBLE(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 DOUBLE(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 REAL(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 REAL(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 DOUBLE PRECISION(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 DOUBLE PRECISION(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; +CREATE TABLE t4(c1 FLOAT(1,0) NOT NULL); +PREPARE stmt4 FROM 'INSERT INTO t4 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +0 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +1 +PREPARE stmt4 FROM 'SELECT * FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +c1 +0 +SET @a=1.0; +EXECUTE stmt4 USING @a; +c1 +1 +SET @a=-9.0; +EXECUTE stmt4 USING @a; +c1 +-9 +DEALLOCATE PREPARE stmt4; +PREPARE stmt4 FROM 'UPDATE t4 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt4 USING @a,@b; +SET @a=1.0; +SET @b=0; +EXECUTE stmt4 USING @a,@b; +SET @a=-9.0; +SET @b=7.0; +EXECUTE stmt4 USING @a,@b; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +-9 +1 +1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +3 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +PREPARE stmt4 FROM 'DELETE FROM t4 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt4 USING @a; +SET @a=1.0; +EXECUTE stmt4 USING @a; +SET @a=-9.0; +EXECUTE stmt4 USING @a; +DEALLOCATE PREPARE stmt4; +SELECT * FROM t4; +c1 +SELECT COUNT(c1) AS total_rows FROM t4; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0; +negative_rows +0 +SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0; +zero_rows +0 +DROP TABLE t4; +CREATE TABLE t5(c1 FLOAT(5,4) NOT NULL); +PREPARE stmt5 FROM 'INSERT INTO t5 (c1) VALUES(?)'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +1.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +2 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +1 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'SELECT * FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +c1 +0.0000 +SET @a=1.0; +EXECUTE stmt5 USING @a; +c1 +1.0000 +SET @a=1.2345; +EXECUTE stmt5 USING @a; +c1 +1.2345 +SET @a=-9.0; +EXECUTE stmt5 USING @a; +c1 +-9.0000 +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +c1 +PREPARE stmt5 FROM 'UPDATE t5 SET c1 = ? WHERE c1 = ?'; +SET @a=0; +SET @b=1.0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.0; +SET @a=0; +EXECUTE stmt5 USING @a,@b; +SET @a=1.2345; +SET @a=3.5432; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.0; +SET @a=-9.1; +EXECUTE stmt5 USING @a,@b; +SET @a=-9.12345; +SET @a=-8.54321; +EXECUTE stmt5 USING @a,@b; +SELECT * FROM t5; +c1 +-9.0000 +-9.1234 +0.0000 +0.0000 +1.2345 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +1 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +2 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +2 +DEALLOCATE PREPARE stmt5; +PREPARE stmt5 FROM 'DELETE FROM t5 WHERE c1 = ?'; +SET @a=0; +EXECUTE stmt5 USING @a; +SET @a=1.0; +EXECUTE stmt5 USING @a; +SET @a=1.2345; +EXECUTE stmt5 USING @a; +SET @a=-9.0; +EXECUTE stmt5 USING @a; +SET @a=-9.12345; +EXECUTE stmt5 USING @a; +SELECT * FROM t5; +c1 +-9.1234 +SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0; +positive_rows +0 +SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0; +negative_rows +1 +SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0; +zero_rows +0 +DEALLOCATE PREPARE stmt5; +DROP TABLE t5; diff --git a/mysql-test/suite/engines/funcs/r/ps_number_null.result b/mysql-test/suite/engines/funcs/r/ps_number_null.result new file mode 100644 index 00000000..87848fc3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ps_number_null.result @@ -0,0 +1,553 @@ +DROP TABLE IF EXISTS t6; +CREATE TABLE t6(c1 TINYINT UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; +CREATE TABLE t6(c1 SMALLINT UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; +CREATE TABLE t6(c1 MEDIUMINT UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; +CREATE TABLE t6(c1 INT UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; +CREATE TABLE t6(c1 INTEGER UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; +CREATE TABLE t6(c1 BIGINT UNSIGNED NULL); +PREPARE stmt6 FROM 'INSERT INTO t6 (c1) VALUES(?)'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +0 +255 +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +2 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +2 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'SELECT * FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +c1 +SET @a=0; +EXECUTE stmt6 USING @a; +c1 +0 +SET @a=255; +EXECUTE stmt6 USING @a; +c1 +255 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'UPDATE t6 SET c1 = ? WHERE c1 = ?'; +SET @a=NULL; +SET @b=0; +EXECUTE stmt6 USING @a,@b; +SET @a=0; +SET @b=NULL; +EXECUTE stmt6 USING @a,@b; +SET @a=255; +SET @a=201; +EXECUTE stmt6 USING @a,@b; +SELECT * FROM t6; +c1 +255 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +1 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +1 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +1 +DEALLOCATE PREPARE stmt6; +PREPARE stmt6 FROM 'DELETE FROM t6 WHERE c1 = ?'; +SET @a=NULL; +EXECUTE stmt6 USING @a; +SET @a=0; +EXECUTE stmt6 USING @a; +SET @a=255; +EXECUTE stmt6 USING @a; +SELECT * FROM t6; +c1 +NULL +NULL +SELECT COUNT(c1) AS total_rows FROM t6; +total_rows +0 +SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0; +positive_rows +0 +SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL; +null_rows +0 +SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL; +not_null_rows +0 +DEALLOCATE PREPARE stmt6; +DROP TABLE t6; diff --git a/mysql-test/suite/engines/funcs/r/ps_string_not_null.result b/mysql-test/suite/engines/funcs/r/ps_string_not_null.result new file mode 100644 index 00000000..5f2a6308 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/ps_string_not_null.result differ diff --git a/mysql-test/suite/engines/funcs/r/ps_string_null.result b/mysql-test/suite/engines/funcs/r/ps_string_null.result new file mode 100644 index 00000000..3783a87c Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/ps_string_null.result differ diff --git a/mysql-test/suite/engines/funcs/r/re_number_range.result b/mysql-test/suite/engines/funcs/r/re_number_range.result new file mode 100644 index 00000000..bc385487 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/re_number_range.result @@ -0,0 +1,2395 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 VALUES (5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/re_number_range_set.result b/mysql-test/suite/engines/funcs/r/re_number_range_set.result new file mode 100644 index 00000000..2c9f2a26 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/re_number_range_set.result @@ -0,0 +1,2395 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +REPLACE t1 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t2 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +REPLACE t3 SET c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/re_number_select.result b/mysql-test/suite/engines/funcs/r/re_number_select.result new file mode 100644 index 00000000..923eda94 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/re_number_select.result @@ -0,0 +1,19 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 (c1,c2) VALUES(0,0),(1,1),(2,2),(3,3),(8,8); +INSERT INTO t2 (c1,c2) VALUES(0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); +REPLACE INTO t1 SELECT * FROM t2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1, t2; diff --git a/mysql-test/suite/engines/funcs/r/re_string_range.result b/mysql-test/suite/engines/funcs/r/re_string_range.result new file mode 100644 index 00000000..8e03e175 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/re_string_range.result @@ -0,0 +1,913 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 VALUES ('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 VALUES ('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 VALUES ('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/re_string_range_set.result b/mysql-test/suite/engines/funcs/r/re_string_range_set.result new file mode 100644 index 00000000..5fb3405d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/re_string_range_set.result @@ -0,0 +1,913 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t1 SET c1='a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t2 SET c1='a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +6 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +REPLACE t3 SET c1='a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/rpl_000010.result b/mysql-test/suite/engines/funcs/r/rpl_000010.result new file mode 100644 index 00000000..a86d71bd --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_000010.result @@ -0,0 +1,19 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +CHANGE MASTER TO MASTER_USE_GTID=NO; +include/start_slave.inc +connection master; +create table t1 (n int not null auto_increment primary key); +insert into t1 values(NULL); +insert into t1 values(2); +connection slave; +select n from t1; +n +1 +2 +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_000011.result b/mysql-test/suite/engines/funcs/r/rpl_000011.result new file mode 100644 index 00000000..83bc0c20 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_000011.result @@ -0,0 +1,18 @@ +include/master-slave.inc +[connection master] +create table t1 (n int); +insert into t1 values(1); +connection slave; +include/stop_slave.inc +include/start_slave.inc +connection master; +insert into t1 values(2); +connection slave; +select * from t1; +n +1 +2 +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_000013.result b/mysql-test/suite/engines/funcs/r/rpl_000013.result new file mode 100644 index 00000000..87103d78 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_000013.result @@ -0,0 +1,33 @@ +include/master-slave.inc +[connection master] +create table t2(n int); +create temporary table t1 (n int); +insert into t1 values(1),(2),(3); +insert into t2 select * from t1; +connection master1; +create temporary table t1 (n int); +insert into t1 values (4),(5); +insert into t2 select * from t1 as t10; +disconnect master; +connection slave; +connection master1; +insert into t2 values(6); +disconnect master1; +connection slave; +select * from t2; +n +1 +2 +3 +4 +5 +6 +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 0 +connect master2,localhost,root,,; +connection master2; +drop table if exists t1,t2; +Warnings: +Note 1051 Unknown table 'test.t1' +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_000015.result b/mysql-test/suite/engines/funcs/r/rpl_000015.result new file mode 100644 index 00000000..56fc002a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_000015.result @@ -0,0 +1,46 @@ +include/master-slave.inc +[connection master] +reset master; +show master status; +File Position Binlog_Do_DB Binlog_Ignore_DB +master-bin.000001 329 +connection slave; +include/stop_slave.inc +reset slave; +Slave_IO_Running = 'No' +Slave_SQL_Running = 'No' +Last_SQL_Errno = '0' +Last_SQL_Error = '' +Exec_Master_Log_Pos = '0' +change master to master_host='127.0.0.1'; +Slave_IO_Running = 'No' +Slave_SQL_Running = 'No' +Last_SQL_Errno = '0' +Last_SQL_Error = '' +Exec_Master_Log_Pos = '0' +change master to master_host='127.0.0.1',master_user='root', +master_password='',master_port=MASTER_PORT; +include/start_slave.inc +Slave_IO_Running = 'Yes' +Slave_SQL_Running = 'Yes' +Last_SQL_Errno = '0' +Last_SQL_Error = '' +Exec_Master_Log_Pos = '329' +connection master; +create table t1 (n int, PRIMARY KEY(n)); +insert into t1 values (10),(45),(90); +connection slave; +SELECT * FROM t1 ORDER BY n; +n +10 +45 +90 +connection master; +SELECT * FROM t1 ORDER BY n; +n +10 +45 +90 +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_000017.result b/mysql-test/suite/engines/funcs/r/rpl_000017.result new file mode 100644 index 00000000..d1c45320 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_000017.result @@ -0,0 +1,19 @@ +include/master-slave.inc +[connection master] +connection slave; +connection master; +grant replication slave on *.* to replicate@localhost identified by 'aaaaaaaaaaaaaaab'; +grant replication slave on *.* to replicate@127.0.0.1 identified by 'aaaaaaaaaaaaaaab'; +connection slave; +include/start_slave.inc +connection master; +create table t1(n int); +insert into t1 values(24); +connection slave; +select * from t1; +n +24 +connection master; +drop table t1; +delete from mysql.user where user="replicate"; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_LD_INFILE.result b/mysql-test/suite/engines/funcs/r/rpl_LD_INFILE.result new file mode 100644 index 00000000..7204122b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_LD_INFILE.result @@ -0,0 +1,119 @@ +include/master-slave.inc +[connection master] +connection master; +DROP TABLE IF EXISTS test.t1; +CREATE TABLE test.t1 (a VARCHAR(255), PRIMARY KEY(a)); +LOAD DATA INFILE '../../std_data/words2.dat' INTO TABLE test.t1; +DELETE FROM test.t1 WHERE a = 'abashed'; +DELETE FROM test.t1; +LOAD DATA INFILE '../../std_data/words2.dat' INTO TABLE test.t1; +SELECT * FROM test.t1 ORDER BY a DESC; +a +aberration +aberrant +Abernathy +Aberdeen +Abelson +Abelian +Abel +abed +Abe +abducts +abductors +abductor +abductions +abduction +abducted +abduct +abdominal +abdomens +abdomen +Abby +abbreviations +abbreviation +abbreviating +abbreviates +abbreviated +abbreviate +Abbott +abbots +abbot +abbeys +abbey +abbe +Abba +abating +abates +abater +abatements +abatement +abated +abate +abasing +abashing +abashes +abashed +abash +abases +abasements +abasement +abased +abase +connection slave; +connection slave; +SELECT * FROM test.t1 ORDER BY a DESC; +a +aberration +aberrant +Abernathy +Aberdeen +Abelson +Abelian +Abel +abed +Abe +abducts +abductors +abductor +abductions +abduction +abducted +abduct +abdominal +abdomens +abdomen +Abby +abbreviations +abbreviation +abbreviating +abbreviates +abbreviated +abbreviate +Abbott +abbots +abbot +abbeys +abbey +abbe +Abba +abating +abates +abater +abatements +abatement +abated +abate +abasing +abashing +abashes +abashed +abash +abases +abasements +abasement +abased +abase +connection master; +DROP TABLE test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_alter,innodb.rdiff b/mysql-test/suite/engines/funcs/r/rpl_alter,innodb.rdiff new file mode 100644 index 00000000..d1d51ba0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_alter,innodb.rdiff @@ -0,0 +1,72 @@ +@@ -29,7 +29,7 @@ + `a` int(10) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + insert into t1 (a) values (1),((1<<32)-1); + select * from t1; + a b +@@ -42,7 +42,7 @@ + `a` bigint(20) NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + select * from t1; + a b + 1 NULL +@@ -54,7 +54,7 @@ + `a` int(10) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + select * from t1; + a b + 1 NULL +@@ -66,7 +66,7 @@ + `a` bigint(20) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + select * from t1; + a b + 1 NULL +@@ -83,7 +83,7 @@ + `a` bigint(20) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + connection master; + create table t2 (a int unsigned auto_increment primary key, b int); + show create table t2; +@@ -92,7 +92,7 @@ + `a` int(10) unsigned NOT NULL AUTO_INCREMENT, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + alter table t2 modify a bigint; + show create table t2; + Table Create Table +@@ -100,7 +100,7 @@ + `a` bigint(20) NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + alter table t2 modify a bigint auto_increment; + show create table t2; + Table Create Table +@@ -108,7 +108,7 @@ + `a` bigint(20) NOT NULL AUTO_INCREMENT, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ++) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + drop table t1,t2; + # + # MDEV-8432: Slave cannot replicate signed integer-type values diff --git a/mysql-test/suite/engines/funcs/r/rpl_alter.result b/mysql-test/suite/engines/funcs/r/rpl_alter.result new file mode 100644 index 00000000..773fa32d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_alter.result @@ -0,0 +1,132 @@ +include/master-slave.inc +[connection master] +create database mysqltest; +create table mysqltest.t1 ( n int); +alter table mysqltest.t1 add m int; +insert into mysqltest.t1 values (1,2); +create table mysqltest.t2 (n int); +insert into mysqltest.t2 values (45); +rename table mysqltest.t2 to mysqltest.t3, mysqltest.t1 to mysqltest.t2; +connection slave; +select * from mysqltest.t2; +n m +1 2 +select * from mysqltest.t3; +n +45 +connection master; +drop database mysqltest; +connection slave; +connection master; +use test; +# +# Test bug where ALTER TABLE MODIFY didn't replicate properly +# +create table t1 (a int unsigned primary key, b int); +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(10) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +insert into t1 (a) values (1),((1<<32)-1); +select * from t1; +a b +1 NULL +4294967295 NULL +alter table t1 modify a bigint; +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` bigint(20) NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +select * from t1; +a b +1 NULL +4294967295 NULL +alter table t1 modify a int unsigned; +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(10) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +select * from t1; +a b +1 NULL +4294967295 NULL +alter table t1 modify a bigint unsigned; +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` bigint(20) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +select * from t1; +a b +1 NULL +4294967295 NULL +connection slave; +use test; +select * from t1; +a b +1 NULL +4294967295 NULL +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` bigint(20) unsigned NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +connection master; +create table t2 (a int unsigned auto_increment primary key, b int); +show create table t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `a` int(10) unsigned NOT NULL AUTO_INCREMENT, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +alter table t2 modify a bigint; +show create table t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `a` bigint(20) NOT NULL, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +alter table t2 modify a bigint auto_increment; +show create table t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `a` bigint(20) NOT NULL AUTO_INCREMENT, + `b` int(11) DEFAULT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +drop table t1,t2; +# +# MDEV-8432: Slave cannot replicate signed integer-type values +# with high bit set to 1 +# Test replication when we have int on master and bigint on slave +# +create table t1 (a int unsigned primary key, b int); +connection slave; +SET GLOBAL SLAVE_TYPE_CONVERSIONS='ALL_NON_LOSSY'; +alter table t1 modify a bigint unsigned; +connection master; +insert into t1 (a) values (1),((1<<32)-1); +connection slave; +select * from t1; +a b +1 NULL +4294967295 NULL +SET GLOBAL SLAVE_TYPE_CONVERSIONS=''; +connection master; +drop table t1; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_alter_db.result b/mysql-test/suite/engines/funcs/r/rpl_alter_db.result new file mode 100644 index 00000000..56e82712 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_alter_db.result @@ -0,0 +1,12 @@ +include/master-slave.inc +[connection master] +==== Verify that alter database does not stop replication ==== +create database temp_db; +use temp_db; +alter database collate latin1_bin; +connection slave; +==== Clean up ==== +connection master; +drop database temp_db; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_bit.result b/mysql-test/suite/engines/funcs/r/rpl_bit.result new file mode 100644 index 00000000..b83faa4a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_bit.result @@ -0,0 +1,139 @@ +include/master-slave.inc +[connection master] +connection master; +DROP TABLE IF EXISTS test.t1; +CREATE TABLE test.t1 ( +dummyKey INTEGER NOT NULL, +f01 TINYINT, +f10 TINYINT, +f12 TINYINT, +f15 TINYINT, +f16 TINYINT, +f7 TINYINT, +f9 TINYINT, +f29 TINYINT, +f0 TINYINT, +fA1 TINYINT, +C32 TINYINT, +A42 TINYINT, +CA3 TINYINT, +A044 TINYINT, +f001 TINYINT, +A3002 TINYINT, +fC003 TINYINT, +CA300 TINYINT, +A305 TINYINT, +CA321 TINYINT, +r001 TINYINT, +bit1 BIT(6), +bit2 BIT(6), +bit3 BIT(6), +State1 TINYINT, +State2 TINYINT, +State3 TINYINT, +State4 TINYINT, +SubState TINYINT, +gState TINYINT, +oSupp TINYINT, +tSupp TINYINT, +sSuppD TINYINT, +mSuppf TINYINT, +GSuppDf TINYINT, +VNotSupp TINYINT, +x034 TINYINT, +PRIMARY KEY USING HASH (dummyKey) ); +LOCK TABLES test.t1 WRITE; +INSERT INTO test.t1 VALUES (6,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'111111',b'111110',b'110101',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'111111',b'000000',b'100100',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (2,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'000000',b'101010',b'010101',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (3,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'101010',b'111111',b'000000',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (4,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (5,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (7,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (8,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +UNLOCK TABLES; +SELECT oSupp, sSuppD, GSuppDf, VNotSupp, x034 FROM test.t1; +oSupp sSuppD GSuppDf VNotSupp x034 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +SELECT hex(bit1) FROM test.t1 ORDER BY bit1; +hex(bit1) +0 +0 +0 +0 +0 +2A +3F +3F +SELECT hex(bit2) from test.t1 ORDER BY bit2; +hex(bit2) +0 +1 +1 +1 +1 +2A +3E +3F +SELECT hex(bit3) from test.t1 ORDER BY bit3; +hex(bit3) +0 +1 +1 +1 +1 +15 +24 +35 +connection slave; +SELECT oSupp, sSuppD, GSuppDf, VNotSupp, x034 FROM test.t1; +oSupp sSuppD GSuppDf VNotSupp x034 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +5 5 3 2 1 +SELECT hex(bit1) FROM test.t1 ORDER BY bit1; +hex(bit1) +0 +0 +0 +0 +0 +2A +3F +3F +SELECT hex(bit2) from test.t1 ORDER BY bit2; +hex(bit2) +0 +1 +1 +1 +1 +2A +3E +3F +SELECT hex(bit3) from test.t1 ORDER BY bit3; +hex(bit3) +0 +1 +1 +1 +1 +15 +24 +35 +connection master; +DROP TABLE IF EXISTS test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_bit_npk.result b/mysql-test/suite/engines/funcs/r/rpl_bit_npk.result new file mode 100644 index 00000000..5c7e6fc5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_bit_npk.result @@ -0,0 +1,172 @@ +include/master-slave.inc +[connection master] +connection master; +DROP TABLE IF EXISTS test.t1; +CREATE TABLE test.t1 ( +dummyKey INTEGER NOT NULL, +f01 TINYINT, +f10 TINYINT, +f12 TINYINT, +f15 TINYINT, +f16 TINYINT, +f7 TINYINT, +f9 TINYINT, +f29 TINYINT, +f0 TINYINT, +fA1 TINYINT, +C32 TINYINT, +A42 TINYINT, +CA3 TINYINT, +A044 TINYINT, +f001 TINYINT, +A3002 TINYINT, +fC003 TINYINT, +CA300 TINYINT, +A305 TINYINT, +CA321 TINYINT, +r001 TINYINT, +bit1 BIT(6), +bit2 BIT(6), +bit3 BIT(6), +State1 TINYINT, +State2 TINYINT, +State3 TINYINT, +State4 TINYINT, +SubState TINYINT, +gState TINYINT, +oSupp TINYINT, +tSupp TINYINT, +sSuppD TINYINT, +mSuppf TINYINT, +GSuppDf TINYINT, +VNotSupp TINYINT, +x034 TINYINT); +LOCK TABLES test.t1 WRITE; +INSERT INTO test.t1 VALUES (6,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'111111',b'111110',b'110101',4,5,5,5,5,5,5,5,5,5,3,NULL,1); +INSERT INTO test.t1 VALUES (1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'111111',b'000000',b'100100',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (2,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'000000',b'101010',b'010101',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (3,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'101010',b'111111',b'000000',4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (4,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'0',1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (5,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (7,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +INSERT INTO test.t1 VALUES (8,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,4,5,5,5,5,5,5,5,5,5,3,2,1); +UNLOCK TABLES; +UPDATE test.t1 set x034 = 50 where bit3 = b'000000'; +UPDATE test.t1 set VNotSupp = 33 where bit1 = b'0'; +SELECT oSupp, sSuppD, GSuppDf, VNotSupp, x034 +FROM test.t1 +ORDER BY oSupp, sSuppD, GSuppDf, VNotSupp, x034; +oSupp sSuppD GSuppDf VNotSupp x034 +5 5 3 NULL 1 +5 5 3 2 1 +5 5 3 2 50 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +SELECT hex(bit1) from test.t1 ORDER BY bit1; +hex(bit1) +0 +0 +0 +0 +0 +2A +3F +3F +SELECT hex(bit2) from test.t1 ORDER BY bit2; +hex(bit2) +0 +1 +1 +1 +1 +2A +3E +3F +SELECT hex(bit3) from test.t1 ORDER BY bit3; +hex(bit3) +0 +1 +1 +1 +1 +15 +24 +35 +connection slave; +SELECT oSupp, sSuppD, GSuppDf, VNotSupp, x034 +FROM test.t1 +ORDER BY oSupp, sSuppD, GSuppDf, VNotSupp, x034; +oSupp sSuppD GSuppDf VNotSupp x034 +5 5 3 NULL 1 +5 5 3 2 1 +5 5 3 2 50 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +5 5 3 33 1 +SELECT hex(bit1) from test.t1 ORDER BY bit1; +hex(bit1) +0 +0 +0 +0 +0 +2A +3F +3F +SELECT hex(bit2) from test.t1 ORDER BY bit2; +hex(bit2) +0 +1 +1 +1 +1 +2A +3E +3F +SELECT hex(bit3) from test.t1 ORDER BY bit3; +hex(bit3) +0 +1 +1 +1 +1 +15 +24 +35 +connection master; +CREATE TABLE test.t2 (a INT, b BIT(1)); +INSERT INTO test.t2 VALUES (1, b'0'); +INSERT INTO test.t2 VALUES (1, b'1'); +UPDATE test.t2 SET a = 2 WHERE b = b'1'; +CREATE TABLE test.t3 (a INT, b INT); +INSERT INTO test.t3 VALUES (1, NULL); +INSERT INTO test.t3 VALUES (1, 0); +UPDATE test.t3 SET a = 2 WHERE b = 0; +SELECT a, hex(b) FROM test.t2 ORDER BY a,b; +a hex(b) +1 0 +2 1 +SELECT * FROM test.t3 ORDER BY a,b; +a b +1 NULL +2 0 +connection slave; +SELECT a, hex(b) FROM test.t2 ORDER BY a,b; +a hex(b) +1 0 +2 1 +SELECT * FROM test.t3 ORDER BY a,b; +a b +1 NULL +2 0 +connection master; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_change_master.result b/mysql-test/suite/engines/funcs/r/rpl_change_master.result new file mode 100644 index 00000000..88801b07 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_change_master.result @@ -0,0 +1,34 @@ +include/master-slave.inc +[connection master] +call mtr.add_suppression("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum"); +connection master; +create table t1(n int); +connection slave; +select * from t1; +n +stop slave sql_thread; +connection master; +insert into t1 values(1); +insert into t1 values(2); +connection slave; +include/wait_for_slave_param.inc [Read_Master_Log_Pos] +include/stop_slave.inc +change master to master_user='root'; +start slave; +select * from t1; +n +1 +2 +connection master; +drop table t1; +connection slave; +connection master; +CHANGE MASTER TO MASTER_USER='root', MASTER_SSL=0, MASTER_SSL_CA='', MASTER_SSL_CERT='', +MASTER_SSL_KEY='', MASTER_SSL_CRL='', MASTER_SSL_CRLPATH=''; +CHANGE MASTER TO MASTER_USER='root', MASTER_PASSWORD='', MASTER_SSL=0; +"Usage of CURRENT_POS in CHANGE MASTER MASTER_USE_GTID is dreprecated. +CHANGE MASTER TO MASTER_USE_GTID=CURRENT_POS; +Warnings: +Warning 1681 'master_use_gtid=current_pos' is deprecated and will be removed in a future release. Please use master_demote_to_slave=1 instead +CHANGE MASTER TO MASTER_USE_GTID=SLAVE_POS; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_create_database.result b/mysql-test/suite/engines/funcs/r/rpl_create_database.result new file mode 100644 index 00000000..28c11525 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_create_database.result @@ -0,0 +1,66 @@ +include/master-slave.inc +[connection master] +DROP DATABASE IF EXISTS mysqltest_prometheus; +DROP DATABASE IF EXISTS mysqltest_sisyfos; +DROP DATABASE IF EXISTS mysqltest_bob; +connection slave; +DROP DATABASE IF EXISTS mysqltest_bob; +connection master; +CREATE DATABASE mysqltest_prometheus; +CREATE DATABASE mysqltest_sisyfos; +CREATE DATABASE mysqltest_bob; +USE mysqltest_sisyfos; +CREATE TABLE t1 (b int); +INSERT INTO t1 VALUES(1); +USE mysqltest_bob; +CREATE TABLE t2 (b int); +INSERT INTO t2 VALUES(2); +ALTER DATABASE mysqltest_sisyfos CHARACTER SET latin1; +USE mysqltest_sisyfos; +ALTER DATABASE mysqltest_bob CHARACTER SET latin1; +SHOW DATABASES LIKE 'mysql%'; +Database (mysql%) +mysql +mysqltest_bob +mysqltest_prometheus +mysqltest_sisyfos +connection slave; +SHOW DATABASES LIKE 'mysql%'; +Database (mysql%) +mysql +mysqltest_prometheus +mysqltest_sisyfos +connection master; +DROP DATABASE IF EXISTS mysqltest_sisyfos; +USE mysqltest_prometheus; +CREATE TABLE t1 (a INT); +INSERT INTO t1 VALUES (1); +CREATE DATABASE mysqltest_sisyfos; +USE mysqltest_sisyfos; +CREATE TABLE t2 (a INT); +SHOW DATABASES LIKE 'mysql%'; +Database (mysql%) +mysql +mysqltest_bob +mysqltest_prometheus +mysqltest_sisyfos +connection slave; +SHOW DATABASES LIKE 'mysql%'; +Database (mysql%) +mysql +mysqltest_prometheus +mysqltest_sisyfos +USE mysqltest_prometheus; +SHOW TABLES; +Tables_in_mysqltest_prometheus +t1 +USE mysqltest_sisyfos; +SHOW TABLES; +Tables_in_mysqltest_sisyfos +t2 +connection master; +DROP DATABASE IF EXISTS mysqltest_prometheus; +DROP DATABASE IF EXISTS mysqltest_sisyfos; +DROP DATABASE IF EXISTS mysqltest_bob; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_do_grant.result b/mysql-test/suite/engines/funcs/r/rpl_do_grant.result new file mode 100644 index 00000000..0d290880 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_do_grant.result @@ -0,0 +1,320 @@ +include/master-slave.inc +[connection master] +connection master; +create user rpl_do_grant@localhost; +grant select on *.* to rpl_do_grant@localhost; +grant drop on test.* to rpl_do_grant@localhost; +connection slave; +show grants for rpl_do_grant@localhost; +Grants for rpl_do_grant@localhost +GRANT SELECT ON *.* TO `rpl_do_grant`@`localhost` +GRANT DROP ON `test`.* TO `rpl_do_grant`@`localhost` +connection master; +set password for rpl_do_grant@localhost=password("does it work?"); +connection slave; +select authentication_string<>'' from mysql.user where user='rpl_do_grant'; +authentication_string<>'' +1 +connection master; +update mysql.global_priv set priv=json_remove(priv, '$.authentication_string') where user='rpl_do_grant'; +flush privileges; +select authentication_string<>'' from mysql.user where user='rpl_do_grant'; +authentication_string<>'' +0 +set sql_mode='ANSI_QUOTES'; +set password for rpl_do_grant@localhost=password('does it work?'); +set sql_mode=''; +connection slave; +select authentication_string<>'' from mysql.user where user='rpl_do_grant'; +authentication_string<>'' +1 +connection master; +drop user rpl_do_grant@localhost; +connection slave; +connection master; +show grants for rpl_do_grant@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant' on host 'localhost' +connection slave; +show grants for rpl_do_grant@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant' on host 'localhost' +connection master; +create user rpl_do_grant@localhost; +show grants for rpl_do_grant@localhost; +Grants for rpl_do_grant@localhost +GRANT USAGE ON *.* TO `rpl_do_grant`@`localhost` +show grants for rpl_do_grant2@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant2' on host 'localhost' +connection slave; +show grants for rpl_do_grant@localhost; +Grants for rpl_do_grant@localhost +GRANT USAGE ON *.* TO `rpl_do_grant`@`localhost` +show grants for rpl_do_grant2@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant2' on host 'localhost' +connection master; +rename user rpl_do_grant@localhost to rpl_do_grant2@localhost; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +connection slave; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +connection master; +grant DELETE,INSERT on mysqltest1.* to rpl_do_grant2@localhost; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +GRANT INSERT, DELETE ON `mysqltest1`.* TO `rpl_do_grant2`@`localhost` +connection slave; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +GRANT INSERT, DELETE ON `mysqltest1`.* TO `rpl_do_grant2`@`localhost` +connection master; +revoke DELETE on mysqltest1.* from rpl_do_grant2@localhost; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +GRANT INSERT ON `mysqltest1`.* TO `rpl_do_grant2`@`localhost` +connection slave; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +GRANT INSERT ON `mysqltest1`.* TO `rpl_do_grant2`@`localhost` +connection master; +revoke all privileges, grant option from rpl_do_grant2@localhost; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +connection slave; +show grants for rpl_do_grant2@localhost; +Grants for rpl_do_grant2@localhost +GRANT USAGE ON *.* TO `rpl_do_grant2`@`localhost` +connection master; +drop user rpl_do_grant2@localhost; +show grants for rpl_do_grant2@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant2' on host 'localhost' +connection slave; +show grants for rpl_do_grant2@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_do_grant2' on host 'localhost' +connection master; +call mtr.add_suppression("Slave: Operation DROP USER failed for 'create_rout_db'@'localhost' error.* 1396"); +connection slave; +connection master; +DROP DATABASE IF EXISTS bug42217_db; +CREATE DATABASE bug42217_db; +GRANT CREATE ROUTINE ON bug42217_db.* TO 'create_rout_db'@'localhost' + IDENTIFIED BY 'create_rout_db' WITH GRANT OPTION; +connection slave; +connection master; +connect create_rout_db_master, localhost, create_rout_db, create_rout_db, bug42217_db,$MASTER_MYPORT,; +connect create_rout_db_slave, localhost, create_rout_db, create_rout_db, bug42217_db, $SLAVE_MYPORT,; +connection create_rout_db_master; +USE bug42217_db; +CREATE FUNCTION upgrade_del_func() RETURNS CHAR(30) +BEGIN +RETURN "INSIDE upgrade_del_func()"; +END// +connection master; +USE bug42217_db; +SELECT * FROM mysql.procs_priv; +Host Db User Routine_name Routine_type Grantor Proc_priv Timestamp +localhost bug42217_db create_rout_db upgrade_del_func FUNCTION create_rout_db@localhost Execute,Alter Routine # +SELECT upgrade_del_func(); +upgrade_del_func() +INSIDE upgrade_del_func() +connection slave; +SELECT * FROM mysql.procs_priv; +Host Db User Routine_name Routine_type Grantor Proc_priv Timestamp +localhost bug42217_db create_rout_db upgrade_del_func FUNCTION create_rout_db@localhost Execute,Alter Routine # +SHOW GRANTS FOR 'create_rout_db'@'localhost'; +Grants for create_rout_db@localhost +GRANT USAGE ON *.* TO `create_rout_db`@`localhost` IDENTIFIED BY PASSWORD '*08792480350CBA057BDE781B9DF183B263934601' +GRANT CREATE ROUTINE ON `bug42217_db`.* TO `create_rout_db`@`localhost` WITH GRANT OPTION +GRANT EXECUTE, ALTER ROUTINE ON FUNCTION `bug42217_db`.`upgrade_del_func` TO `create_rout_db`@`localhost` +USE bug42217_db; +SHOW CREATE FUNCTION upgrade_del_func; +Function sql_mode Create Function character_set_client collation_connection Database Collation +upgrade_del_func STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`create_rout_db`@`localhost` FUNCTION `upgrade_del_func`() RETURNS char(30) CHARSET latin1 COLLATE latin1_swedish_ci +BEGIN +RETURN "INSIDE upgrade_del_func()"; +END latin1 latin1_swedish_ci latin1_swedish_ci +SELECT upgrade_del_func(); +upgrade_del_func() +INSIDE upgrade_del_func() +"Check whether the definer user will be able to execute the replicated routine on slave" +connection create_rout_db_slave; +USE bug42217_db; +SHOW CREATE FUNCTION upgrade_del_func; +Function sql_mode Create Function character_set_client collation_connection Database Collation +upgrade_del_func STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`create_rout_db`@`localhost` FUNCTION `upgrade_del_func`() RETURNS char(30) CHARSET latin1 COLLATE latin1_swedish_ci +BEGIN +RETURN "INSIDE upgrade_del_func()"; +END latin1 latin1_swedish_ci latin1_swedish_ci +SELECT upgrade_del_func(); +upgrade_del_func() +INSIDE upgrade_del_func() +connection slave; +DELETE FROM mysql.procs_priv; +FLUSH PRIVILEGES; +USE bug42217_db; +"Can't execute the replicated routine on slave like before after procs privilege is deleted " +SELECT upgrade_del_func(); +ERROR 42000: execute command denied to user 'create_rout_db'@'localhost' for routine 'bug42217_db.upgrade_del_func' +"Test the user who creates a function on master doesn't exist on slave." +"Hence SQL thread ACL_GLOBAL privilege jumps in and no mysql.procs_priv is inserted" +DROP USER 'create_rout_db'@'localhost'; +connection create_rout_db_master; +CREATE FUNCTION upgrade_alter_func() RETURNS CHAR(30) +BEGIN +RETURN "INSIDE upgrade_alter_func()"; +END// +connection master; +SELECT upgrade_alter_func(); +upgrade_alter_func() +INSIDE upgrade_alter_func() +connection slave; +SHOW CREATE FUNCTION upgrade_alter_func; +Function sql_mode Create Function character_set_client collation_connection Database Collation +upgrade_alter_func STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`create_rout_db`@`localhost` FUNCTION `upgrade_alter_func`() RETURNS char(30) CHARSET latin1 COLLATE latin1_swedish_ci +BEGIN +RETURN "INSIDE upgrade_alter_func()"; +END latin1 latin1_swedish_ci latin1_swedish_ci +"Should no privilege record for upgrade_alter_func in mysql.procs_priv" +SELECT * FROM mysql.procs_priv; +Host Db User Routine_name Routine_type Grantor Proc_priv Timestamp +SELECT upgrade_alter_func(); +ERROR HY000: The user specified as a definer ('create_rout_db'@'localhost') does not exist +disconnect create_rout_db_master; +disconnect create_rout_db_slave; +connection master; +USE bug42217_db; +DROP FUNCTION upgrade_del_func; +DROP FUNCTION upgrade_alter_func; +DROP DATABASE bug42217_db; +connection slave; +connection master; +SET SQL_LOG_BIN= 0; +DROP USER 'create_rout_db'@'localhost'; +SET SQL_LOG_BIN= 1; +include/rpl_reset.inc +USE test; +######## BUG#49119 ####### +### i) test case from the 'how to repeat section' +connection master; +CREATE TABLE t1(c1 INT); +CREATE PROCEDURE p1() SELECT * FROM t1 | +REVOKE EXECUTE ON PROCEDURE p1 FROM 'root'@'localhost'; +ERROR 42000: There is no such grant defined for user 'root' on host 'localhost' on routine 'p1' +connection slave; +connection master; +DROP TABLE t1; +DROP PROCEDURE p1; +connection slave; +### ii) Test case in which REVOKE partially succeeds +connection master; +include/rpl_reset.inc +connection master; +CREATE TABLE t1(c1 INT); +CREATE PROCEDURE p1() SELECT * FROM t1 | +CREATE USER 'user49119'@'localhost'; +GRANT EXECUTE ON PROCEDURE p1 TO 'user49119'@'localhost'; +############################################################## +### Showing grants for both users: root and user49119 (master) +SHOW GRANTS FOR 'user49119'@'localhost'; +Grants for user49119@localhost +GRANT USAGE ON *.* TO `user49119`@`localhost` +GRANT EXECUTE ON PROCEDURE `test`.`p1` TO `user49119`@`localhost` +SHOW GRANTS FOR CURRENT_USER; +Grants for root@localhost +GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION +GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION +############################################################## +connection slave; +############################################################## +### Showing grants for both users: root and user49119 (master) +SHOW GRANTS FOR 'user49119'@'localhost'; +Grants for user49119@localhost +GRANT USAGE ON *.* TO `user49119`@`localhost` +GRANT EXECUTE ON PROCEDURE `test`.`p1` TO `user49119`@`localhost` +SHOW GRANTS FOR CURRENT_USER; +Grants for root@localhost +GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION +GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION +############################################################## +connection master; +## This statement will make the revoke fail because root has no +## execute grant. However, it will still revoke the grant for +## user49119. +REVOKE EXECUTE ON PROCEDURE p1 FROM 'user49119'@'localhost', 'root'@'localhost'; +ERROR 42000: There is no such grant defined for user 'root' on host 'localhost' on routine 'p1' +############################################################## +### Showing grants for both users: root and user49119 (master) +### after revoke statement failure +SHOW GRANTS FOR 'user49119'@'localhost'; +Grants for user49119@localhost +GRANT USAGE ON *.* TO `user49119`@`localhost` +SHOW GRANTS FOR CURRENT_USER; +Grants for root@localhost +GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION +GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION +############################################################## +connection slave; +############################################################# +### Showing grants for both users: root and user49119 (slave) +### after revoke statement failure (should match +SHOW GRANTS FOR 'user49119'@'localhost'; +Grants for user49119@localhost +GRANT USAGE ON *.* TO `user49119`@`localhost` +SHOW GRANTS FOR CURRENT_USER; +Grants for root@localhost +GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION +GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION +############################################################## +connection master; +DROP TABLE t1; +DROP PROCEDURE p1; +DROP USER 'user49119'@'localhost'; +connection slave; +include/rpl_reset.inc +connection master; +grant all on *.* to foo@"1.2.3.4"; +revoke all privileges, grant option from "foo"; +ERROR HY000: Can't revoke all privileges for one or more of the requested users +include/show_binlog_events.inc +Log_name Pos Event_type Server_id End_log_pos Info +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; grant all on *.* to foo@"1.2.3.4" +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; revoke all privileges, grant option from "foo" +connection slave; +include/check_slave_no_error.inc +connection master; +DROP USER foo@"1.2.3.4"; +connection slave; + +# Bug#27606 GRANT statement should be replicated with DEFINER information +include/rpl_reset.inc +connection master; +GRANT SELECT, INSERT ON mysql.user TO user_bug27606@localhost; +SELECT Grantor FROM mysql.tables_priv WHERE User='user_bug27606'; +Grantor +root@localhost +connection slave; +SELECT Grantor FROM mysql.tables_priv WHERE User='user_bug27606'; +Grantor +root@localhost +connection master; +REVOKE SELECT ON mysql.user FROM user_bug27606@localhost; +SELECT Grantor FROM mysql.tables_priv WHERE User='user_bug27606'; +Grantor +root@localhost +connection slave; +SELECT Grantor FROM mysql.tables_priv WHERE User='user_bug27606'; +Grantor +root@localhost +connection master; +DROP USER user_bug27606@localhost; +select priv into @root_priv from mysql.global_priv where user='root' and host='127.0.0.1'; +update mysql.global_priv set priv=@root_priv where user='root' and host='localhost'; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_drop.result b/mysql-test/suite/engines/funcs/r/rpl_drop.result new file mode 100644 index 00000000..74514fe7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_drop.result @@ -0,0 +1,7 @@ +include/master-slave.inc +[connection master] +create table t1 (a int); +drop table t1, t2; +ERROR 42S02: Unknown table 'test.t2' +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_drop_db.result b/mysql-test/suite/engines/funcs/r/rpl_drop_db.result new file mode 100644 index 00000000..3712527a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_drop_db.result @@ -0,0 +1,40 @@ +include/master-slave.inc +[connection master] +connection master; +drop database if exists mysqltest1; +create database mysqltest1; +create table mysqltest1.t1 (n int); +insert into mysqltest1.t1 values (1); +select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt'; +Warnings: +Warning 1287 ' INTO FROM...' instead +create table mysqltest1.t2 (n int); +create table mysqltest1.t3 (n int); +drop database mysqltest1; +ERROR HY000: Error dropping database (can't rmdir './mysqltest1', errno: 39 "Directory not empty") +use mysqltest1; +show tables; +Tables_in_mysqltest1 +drop database mysqltest1; +ERROR HY000: Error dropping database (can't rmdir './mysqltest1', errno: 39 "Directory not empty") +use mysqltest1; +show tables; +Tables_in_mysqltest1 +use test; +create table t1 (n int); +insert into t1 values (1234); +connection slave; +connection slave; +use mysqltest1; +show tables; +Tables_in_mysqltest1 +use test; +select * from t1; +n +1234 +connection master; +use test; +drop table t1; +drop database mysqltest1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_dual_pos_advance.result b/mysql-test/suite/engines/funcs/r/rpl_dual_pos_advance.result new file mode 100644 index 00000000..ed9060f8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_dual_pos_advance.result @@ -0,0 +1,28 @@ +include/master-slave.inc +[connection master] +connection slave; +reset master; +connection master; +change master to master_host="127.0.0.1",master_port=SLAVE_PORT,master_user="root"; +include/start_slave.inc +connection slave; +create table t1 (n int); +connection master; +connection master; +create table t4 (n int); +create table t5 (n int); +create table t6 (n int); +connection slave; +connection slave; +connection master; +show tables; +Tables_in_test +t1 +t4 +t5 +t6 +include/stop_slave.inc +reset slave; +drop table t1,t4,t5,t6; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_err_ignoredtable.result b/mysql-test/suite/engines/funcs/r/rpl_err_ignoredtable.result new file mode 100644 index 00000000..2017252f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_err_ignoredtable.result @@ -0,0 +1,51 @@ +include/master-slave.inc +[connection master] +connection master; +create table t1 (a int primary key); +create table t4 (a int primary key); +insert into t1 values (1),(1); +Got one of the listed errors +insert into t4 values (1),(2); +connection slave; +show tables like 't1'; +Tables_in_test (t1) +show tables like 't4'; +Tables_in_test (t4) +t4 +SELECT * FROM test.t4 ORDER BY a; +a +1 +2 +connection master; +drop table t1; +connection slave; +connection master1; +select get_lock('crash_lock%20C', 10); +get_lock('crash_lock%20C', 10) +1 +connection master; +create table t2 (a int primary key); +insert into t2 values(1); +create table t3 (id int); +insert into t3 values(connection_id()); +update t2 set a = a + 1 + get_lock('crash_lock%20C', 10); +connection master1; +select (@id := id) - id from t3; +(@id := id) - id +0 +kill @id; +drop table t2,t3; +insert into t4 values (3),(4); +connection master; +connection master1; +connection slave; +SELECT * FROM test.t4 ORDER BY a; +a +1 +2 +3 +4 +connection master1; +DROP TABLE test.t4; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_flushlog_loop.result b/mysql-test/suite/engines/funcs/r/rpl_flushlog_loop.result new file mode 100644 index 00000000..527dd8dc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_flushlog_loop.result @@ -0,0 +1,14 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +change master to master_host='127.0.0.1',master_user='root', +master_password='',master_port=MASTER_PORT; +include/start_slave.inc +connection master; +change master to master_host='127.0.0.1',master_user='root', +master_password='',master_port=SLAVE_PORT; +include/start_slave.inc +flush logs; +include/stop_slave.inc +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_free_items.result b/mysql-test/suite/engines/funcs/r/rpl_free_items.result new file mode 100644 index 00000000..af7a2672 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_free_items.result @@ -0,0 +1,10 @@ +include/master-slave.inc +[connection master] +create table t1 (a int); +create table t2 (a int); +connection slave; +connection master; +drop table t1; +drop table t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_get_lock.result b/mysql-test/suite/engines/funcs/r/rpl_get_lock.result new file mode 100644 index 00000000..b852546e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_get_lock.result @@ -0,0 +1,38 @@ +include/master-slave.inc +[connection master] +CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"); +create table t1(n int); +insert into t1 values(get_lock("lock",2)); +disconnect master; +connection master1; +select get_lock("lock",2); +get_lock("lock",2) +1 +select release_lock("lock"); +release_lock("lock") +1 +connection slave; +select get_lock("lock",3); +get_lock("lock",3) +1 +select * from t1; +n +1 +select is_free_lock("lock"), is_used_lock("lock") = connection_id(); +is_free_lock("lock") is_used_lock("lock") = connection_id() +0 1 +explain extended select is_free_lock("lock"), is_used_lock("lock"); +id select_type table type possible_keys key key_len ref rows filtered Extra +1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used +Warnings: +Note 1003 select is_free_lock('lock') AS `is_free_lock("lock")`,is_used_lock('lock') AS `is_used_lock("lock")` +select is_free_lock("lock2"); +is_free_lock("lock2") +1 +select is_free_lock(NULL); +is_free_lock(NULL) +NULL +connection master1; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_ignore_grant.result b/mysql-test/suite/engines/funcs/r/rpl_ignore_grant.result new file mode 100644 index 00000000..0a5564ac --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_ignore_grant.result @@ -0,0 +1,45 @@ +include/master-slave.inc +[connection master] +connection master; +set sql_mode=""; +delete from mysql.user where user=_binary'rpl_ignore_grant'; +delete from mysql.db where user=_binary'rpl_ignore_grant'; +flush privileges; +connection slave; +set sql_mode=""; +delete from mysql.user where user=_binary'rpl_ignore_grant'; +delete from mysql.db where user=_binary'rpl_ignore_grant'; +flush privileges; +connection master; +grant select on *.* to rpl_ignore_grant@localhost; +grant drop on test.* to rpl_ignore_grant@localhost; +show grants for rpl_ignore_grant@localhost; +Grants for rpl_ignore_grant@localhost +GRANT SELECT ON *.* TO `rpl_ignore_grant`@`localhost` +GRANT DROP ON `test`.* TO `rpl_ignore_grant`@`localhost` +connection slave; +show grants for rpl_ignore_grant@localhost; +ERROR 42000: There is no such grant defined for user 'rpl_ignore_grant' on host 'localhost' +select count(*) from mysql.user where user=_binary'rpl_ignore_grant'; +count(*) +0 +select count(*) from mysql.db where user=_binary'rpl_ignore_grant'; +count(*) +0 +grant select on *.* to rpl_ignore_grant@localhost; +connection master; +set password for rpl_ignore_grant@localhost=password("does it work?"); +connection slave; +select password<>_binary'' from mysql.user where user=_binary'rpl_ignore_grant'; +password<>_binary'' +0 +connection master; +delete from mysql.user where user=_binary'rpl_ignore_grant'; +delete from mysql.db where user=_binary'rpl_ignore_grant'; +flush privileges; +connection slave; +delete from mysql.user where user=_binary'rpl_ignore_grant'; +delete from mysql.db where user=_binary'rpl_ignore_grant'; +flush privileges; +connection master; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_ignore_revoke.result b/mysql-test/suite/engines/funcs/r/rpl_ignore_revoke.result new file mode 100644 index 00000000..cc65d9da --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_ignore_revoke.result @@ -0,0 +1,34 @@ +include/master-slave.inc +[connection master] +connection master; +grant select on *.* to 'user_foo'@'%' identified by 'user_foopass'; +revoke select on *.* from 'user_foo'@'%'; +select select_priv from mysql.user where user='user_foo' /* master:must be N */; +Select_priv +N +connection slave; +grant select on *.* to 'user_foo'@'%' identified by 'user_foopass'; +revoke select on *.* from 'user_foo'@'%'; +select select_priv from mysql.user where user='user_foo' /* slave:must be N */; +Select_priv +N +grant select on *.* to 'user_foo'@'%' identified by 'user_foopass'; +select select_priv from mysql.user where user='user_foo' /* slave:must be Y */; +Select_priv +Y +connection master; +revoke select on *.* from 'user_foo'; +select select_priv from mysql.user where user='user_foo' /* master:must be N */; +Select_priv +N +connection slave; +select select_priv from mysql.user where user='user_foo' /* slave:must get Y */; +Select_priv +Y +connection slave; +revoke select on *.* FROM 'user_foo'; +connection master; +delete from mysql.user where user="user_foo"; +connection slave; +delete from mysql.user where user="user_foo"; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_ignore_table_update.result b/mysql-test/suite/engines/funcs/r/rpl_ignore_table_update.result new file mode 100644 index 00000000..d4efa2dc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_ignore_table_update.result @@ -0,0 +1,25 @@ +include/master-slave.inc +[connection master] +connection slave; +use test; +drop table if exists mysqltest_foo; +drop table if exists mysqltest_bar; +create table mysqltest_foo (n int); +insert into mysqltest_foo values(4); +connection master; +use test; +create table mysqltest_foo (n int); +insert into mysqltest_foo values(5); +create table mysqltest_bar (m int); +insert into mysqltest_bar values(15); +create table t1 (k int); +insert into t1 values(55); +connection slave; +select mysqltest_foo.n,mysqltest_bar.m,t1.k from mysqltest_foo,mysqltest_bar,t1; +n m k +4 15 55 +connection master; +drop table mysqltest_foo,mysqltest_bar,t1; +connection slave; +drop table mysqltest_foo,mysqltest_bar,t1; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_init_slave.result b/mysql-test/suite/engines/funcs/r/rpl_init_slave.result new file mode 100644 index 00000000..a90de76f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_init_slave.result @@ -0,0 +1,33 @@ +include/master-slave.inc +[connection master] +set global max_connections=151; +connection slave; +include/stop_slave.inc +include/start_slave.inc +connection master; +connection slave; +show variables like 'init_slave'; +Variable_name Value +init_slave set global max_connections=500 +show variables like 'max_connections'; +Variable_name Value +max_connections 500 +reset master; +connection master; +show variables like 'init_slave'; +Variable_name Value +init_slave +show variables like 'max_connections'; +Variable_name Value +max_connections 151 +connection slave; +set @my_global_init_connect= @@global.init_connect; +set global init_connect="set @c=1"; +show variables like 'init_connect'; +Variable_name Value +init_connect set @c=1 +connection master; +connection slave; +set global init_connect= @my_global_init_connect; +set global max_connections= default; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_insert.result b/mysql-test/suite/engines/funcs/r/rpl_insert.result new file mode 100644 index 00000000..1e790387 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_insert.result @@ -0,0 +1,25 @@ +# +# Bug#20821: INSERT DELAYED fails to write some rows to binlog +# +include/master-slave.inc +[connection master] +CREATE SCHEMA IF NOT EXISTS mysqlslap; +USE mysqlslap; +CREATE TABLE t1 (id INT, name VARCHAR(64)) ENGINE=MyISAM; +connection slave; +connection master; +SELECT COUNT(*) FROM mysqlslap.t1; +COUNT(*) +5000 +connection slave; +SELECT COUNT(*) FROM mysqlslap.t1; +COUNT(*) +5000 +# +# Cleanup +# +connection master; +USE test; +DROP SCHEMA mysqlslap; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_insert_select.result b/mysql-test/suite/engines/funcs/r/rpl_insert_select.result new file mode 100644 index 00000000..3c9b31de --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_insert_select.result @@ -0,0 +1,21 @@ +include/master-slave.inc +[connection master] +connection master; +create table t1 (n int not null primary key); +insert into t1 values (1); +create table t2 (n int); +insert into t2 values (1); +insert ignore into t1 select * from t2; +Warnings: +Warning 1062 Duplicate entry '1' for key 'PRIMARY' +insert into t1 values (2); +connection slave; +connection slave; +select * from t1; +n +1 +2 +connection master; +drop table t1,t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_loaddata2.result b/mysql-test/suite/engines/funcs/r/rpl_loaddata2.result new file mode 100644 index 00000000..d7a9a598 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_loaddata2.result @@ -0,0 +1,153 @@ +include/master-slave.inc +[connection master] +CREATE TABLE t1 (word CHAR(20) NOT NULL); +LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; +SELECT * FROM t1 ORDER BY word; +word +Aarhus +Aarhus +Aaron +Aaron +Ababa +Ababa +aback +aback +abaft +abaft +abandon +abandon +abandoned +abandoned +abandoning +abandoning +abandonment +abandonment +abandons +abandons +abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration +connection slave; +SELECT * FROM t1 ORDER BY word; +word +Aarhus +Aarhus +Aaron +Aaron +Ababa +Ababa +aback +aback +abaft +abaft +abandon +abandon +abandoned +abandoned +abandoning +abandoning +abandonment +abandonment +abandons +abandons +abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_loaddata_m.result b/mysql-test/suite/engines/funcs/r/rpl_loaddata_m.result new file mode 100644 index 00000000..fdb5ca31 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_loaddata_m.result @@ -0,0 +1,42 @@ +include/master-slave.inc +[connection master] +drop database if exists mysqltest; +connection master; +USE test; +CREATE TABLE t1(a INT, b INT, UNIQUE(b)); +LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE test.t1; +SELECT COUNT(*) FROM test.t1; +COUNT(*) +2 +CREATE DATABASE mysqltest; +USE mysqltest; +CREATE TABLE t1(a INT, b INT, UNIQUE(b)); +LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE mysqltest.t1; +SELECT COUNT(*) FROM mysqltest.t1; +COUNT(*) +2 +connection slave; +SHOW DATABASES; +Database +information_schema +mtr +mysql +mysqltest +performance_schema +sys +test +USE test; +SHOW TABLES; +Tables_in_test +USE mysqltest; +SHOW TABLES; +Tables_in_mysqltest +t1 +SELECT COUNT(*) FROM mysqltest.t1; +COUNT(*) +2 +connection master; +DROP DATABASE mysqltest; +DROP TABLE IF EXISTS test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_loaddata_s.result b/mysql-test/suite/engines/funcs/r/rpl_loaddata_s.result new file mode 100644 index 00000000..1eb37dd4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_loaddata_s.result @@ -0,0 +1,16 @@ +include/master-slave.inc +[connection master] +connection slave; +reset master; +connection master; +create table test.t1(a int, b int, unique(b)); +load data infile '../../std_data/rpl_loaddata.dat' into table test.t1; +connection slave; +select count(*) from test.t1; +count(*) +2 +include/show_binlog_events.inc +connection master; +drop table test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_loaddatalocal.result b/mysql-test/suite/engines/funcs/r/rpl_loaddatalocal.result new file mode 100644 index 00000000..f7034cb7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_loaddatalocal.result @@ -0,0 +1,37 @@ +include/master-slave.inc +[connection master] +create table t1(a int); +select * into outfile 'MYSQLTEST_VARDIR/tmp/rpl_loaddatalocal.select_outfile' from t1; +truncate table t1; +load data local infile 'MYSQLTEST_VARDIR/tmp/rpl_loaddatalocal.select_outfile' into table t1; +connection slave; +select a,count(*) from t1 group by a; +a count(*) +1 10000 +connection master; +drop table t1; +connection slave; +connection master; +create table t1(a int); +insert into t1 values (1), (2), (2), (3); +select * into outfile 'MYSQLTEST_VARDIR/tmp/rpl_loaddatalocal.select_outfile' from t1; +drop table t1; +create table t1(a int primary key); +load data local infile 'MYSQLTEST_VARDIR/tmp/rpl_loaddatalocal.select_outfile' into table t1; +Warnings: +Warning 1062 Duplicate entry '2' for key 'PRIMARY' +SELECT * FROM t1 ORDER BY a; +a +1 +2 +3 +connection slave; +SELECT * FROM t1 ORDER BY a; +a +1 +2 +3 +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_loadfile.result b/mysql-test/suite/engines/funcs/r/rpl_loadfile.result new file mode 100644 index 00000000..fb40cbf3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_loadfile.result @@ -0,0 +1,229 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP TABLE IF EXISTS test.t1; +CREATE TABLE test.t1 (a INT, blob_column LONGBLOB, PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES(1,'test'); +UPDATE test.t1 SET blob_column=LOAD_FILE('../../std_data/words2.dat') WHERE a=1; +create procedure test.p1() +begin +INSERT INTO test.t1 VALUES(2,'test'); +UPDATE test.t1 SET blob_column=LOAD_FILE('../../std_data/words2.dat') WHERE a=2; +end| +CALL test.p1(); +SELECT * FROM test.t1 ORDER BY blob_column; +a blob_column +1 abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration + +2 abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration + +connection slave; +connection slave; +SELECT * FROM test.t1 ORDER BY blob_column; +a blob_column +1 abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration + +2 abase +abased +abasement +abasements +abases +abash +abashed +abashes +abashing +abasing +abate +abated +abatement +abatements +abater +abates +abating +Abba +abbe +abbey +abbeys +abbot +abbots +Abbott +abbreviate +abbreviated +abbreviates +abbreviating +abbreviation +abbreviations +Abby +abdomen +abdomens +abdominal +abduct +abducted +abduction +abductions +abductor +abductors +abducts +Abe +abed +Abel +Abelian +Abelson +Aberdeen +Abernathy +aberrant +aberration + +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP TABLE test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_log_pos.result b/mysql-test/suite/engines/funcs/r/rpl_log_pos.result new file mode 100644 index 00000000..74080b39 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_log_pos.result @@ -0,0 +1,37 @@ +include/master-slave.inc +[connection master] +create table if not exists t1 (n int); +drop table t1; +call mtr.add_suppression ("Slave I/O: Got fatal error 1236 from master when reading data from binary"); +call mtr.add_suppression ("Error in Log_event::read_log_event"); +show master status; +File Position Binlog_Do_DB Binlog_Ignore_DB +master-bin.000001 # +connection slave; +include/stop_slave.inc +change master to master_log_pos=MASTER_LOG_POS, master_use_gtid=no; +start slave; +include/wait_for_slave_io_error.inc [errno=1236] +Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the first event 'master-bin.000001' at XXX, the last event read from 'master-bin.000001' at XXX, the last byte read from 'master-bin.000001' at XXX.'' +include/stop_slave_sql.inc +connection master; +show master status; +File Position Binlog_Do_DB Binlog_Ignore_DB +master-bin.000001 # +create table if not exists t1 (n int); +drop table if exists t1; +create table t1 (n int); +insert into t1 values (1),(2),(3); +connection slave; +change master to master_log_pos=MASTER_LOG_POS, master_use_gtid=no; +start slave; +select * from t1 ORDER BY n; +n +1 +2 +3 +connection master; +drop table t1; +connection slave; +End of 5.0 tests +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_many_optimize.result b/mysql-test/suite/engines/funcs/r/rpl_many_optimize.result new file mode 100644 index 00000000..82b1f685 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_many_optimize.result @@ -0,0 +1,7 @@ +include/master-slave.inc +[connection master] +create table t1 (a int not null auto_increment primary key, b int, key(b)); +INSERT INTO t1 (a) VALUES (1),(2); +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_misc_functions.result b/mysql-test/suite/engines/funcs/r/rpl_misc_functions.result new file mode 100644 index 00000000..302cf235 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_misc_functions.result @@ -0,0 +1,61 @@ +include/master-slave.inc +[connection master] +CALL mtr.add_suppression('Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT'); +create table t1(id int, i int, r1 int, r2 int, p varchar(100)); +insert into t1 values(1, connection_id(), 0, 0, ""); +insert into t1 values(2, 0, rand()*1000, rand()*1000, ""); +set sql_log_bin=0; +insert into t1 values(6, 0, rand(), rand(), ""); +delete from t1 where id=6; +set sql_log_bin=1; +insert into t1 values(3, 0, 0, 0, password('does_this_work?')); +insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('does_this_still_work?')); +select * into outfile 'rpl_misc_functions.outfile' from t1; +connection slave; +create temporary table t2 like t1; +load data local infile 'MYSQLD_DATADIR/test/rpl_misc_functions.outfile' into table t2; +select * from t1, t2 where (t1.id=t2.id) and not(t1.i=t2.i and t1.r1=t2.r1 and t1.r2=t2.r2 and t1.p=t2.p); +id i r1 r2 p id i r1 r2 p +connection master; +drop table t1; +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, +col_a DOUBLE DEFAULT NULL); +CREATE PROCEDURE test_replication_sp1() +BEGIN +INSERT INTO t1 (col_a) VALUES (rand()), (rand()); +INSERT INTO t1 (col_a) VALUES (rand()); +END| +CREATE PROCEDURE test_replication_sp2() +BEGIN +CALL test_replication_sp1(); +CALL test_replication_sp1(); +END| +CREATE FUNCTION test_replication_sf() RETURNS DOUBLE DETERMINISTIC +BEGIN +RETURN (rand() + rand()); +END| +CALL test_replication_sp1(); +CALL test_replication_sp2(); +INSERT INTO t1 (col_a) VALUES (test_replication_sf()); +INSERT INTO t1 (col_a) VALUES (test_replication_sf()); +INSERT INTO t1 (col_a) VALUES (test_replication_sf()); +connection slave; +select * from t1 into outfile "../../tmp/t1_slave.txt"; +Warnings: +Warning 1287 ' INTO FROM...' instead +connection master; +create temporary table t1_slave select * from t1 where 1=0; +load data infile '../../tmp/t1_slave.txt' into table t1_slave; +select count(*) into @aux from t1 join t1_slave using (id) +where ABS(t1.col_a - t1_slave.col_a) < 0.0000001 ; +SELECT @aux; +@aux +12 +connection master; +DROP TABLE t1, t1_slave; +DROP PROCEDURE test_replication_sp1; +DROP PROCEDURE test_replication_sp2; +DROP FUNCTION test_replication_sf; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_multi_delete.result b/mysql-test/suite/engines/funcs/r/rpl_multi_delete.result new file mode 100644 index 00000000..62a0d742 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_multi_delete.result @@ -0,0 +1,22 @@ +include/master-slave.inc +[connection master] +create table t1 (a int primary key); +create table t2 (a int); +insert into t1 values (1); +insert into t2 values (1); +delete t1.* from t1, t2 where t1.a = t2.a; +select * from t1; +a +select * from t2; +a +1 +connection slave; +select * from t1; +a +select * from t2; +a +1 +connection master; +drop table t1,t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_multi_delete2.result b/mysql-test/suite/engines/funcs/r/rpl_multi_delete2.result new file mode 100644 index 00000000..0a316ec3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_multi_delete2.result @@ -0,0 +1,49 @@ +include/master-slave.inc +[connection master] +connection master; +set sql_log_bin=0; +create database mysqltest_from; +set sql_log_bin=1; +connection slave; +create database mysqltest_to; +connection master; +use mysqltest_from; +drop table if exists a; +CREATE TABLE a (i INT); +INSERT INTO a VALUES(1); +DELETE alias FROM a alias WHERE alias.i=1; +SELECT * FROM a; +i +insert into a values(2),(3); +delete alias FROM a alias where alias.i=2; +select * from a; +i +3 +connection slave; +use mysqltest_to; +select * from a; +i +3 +connection master; +create table t1 (a int primary key); +create table t2 (a int); +insert into t1 values (1); +insert into t2 values (1); +delete t1.* from t1, t2 where t1.a = t2.a; +select * from t1; +a +select * from t2; +a +1 +connection slave; +select * from t1; +ERROR 42S02: Table 'mysqltest_to.t1' doesn't exist +select * from t2; +ERROR 42S02: Table 'mysqltest_to.t2' doesn't exist +connection master; +set sql_log_bin=0; +drop database mysqltest_from; +set sql_log_bin=1; +connection slave; +drop database mysqltest_to; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_multi_update4.result b/mysql-test/suite/engines/funcs/r/rpl_multi_update4.result new file mode 100644 index 00000000..256c1c50 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_multi_update4.result @@ -0,0 +1,28 @@ +include/master-slave.inc +[connection master] +connection master; +drop database if exists d1; +drop database if exists d2; +connection slave; +drop database if exists d2; +connection master; +create database d1; +create table d1.t0 (id int); +create database d2; +use d2; +create table t1 (id int); +create table t2 (id int); +insert into t1 values (1), (2), (3), (4), (5); +insert into t2 select id + 3 from t1; +update t1 join t2 using (id) set t1.id = 0; +insert into d1.t0 values (0); +connection slave; +use d1; +select * from t0 where id=0; +id +0 +connection master; +drop database d1; +drop database d2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_ps.result b/mysql-test/suite/engines/funcs/r/rpl_ps.result new file mode 100644 index 00000000..57c2db05 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_ps.result @@ -0,0 +1,54 @@ +include/master-slave.inc +[connection master] +drop table if exists t1; +create table t1(n char(30)); +prepare stmt1 from 'insert into t1 values (?)'; +set @var1= "from-master-1"; +execute stmt1 using @var1; +set @var1= "from-master-2-'',"; +execute stmt1 using @var1; +SELECT * FROM t1 ORDER BY n; +n +from-master-1 +from-master-2-'', +set @var2= 'insert into t1 values (concat("from-var-", ?))'; +prepare stmt2 from @var2; +set @var1='from-master-3'; +execute stmt2 using @var1; +connection slave; +SELECT * FROM t1 ORDER BY n; +n +from-master-1 +from-master-2-'', +from-var-from-master-3 +connection master; +drop table t1; +connection slave; +stop slave; +include/wait_for_slave_to_stop.inc + +######################################################################## +# +# BUG#25843: Changing default database between PREPARE and EXECUTE of +# statement breaks binlog. +# +######################################################################## +connection slave; +START SLAVE; +connection master; +CREATE DATABASE mysqltest1; +CREATE TABLE t1(db_name CHAR(32), db_col_name CHAR(32)); +PREPARE stmt_d_1 FROM 'INSERT INTO t1 VALUES(DATABASE(), @@collation_database)'; +EXECUTE stmt_d_1; +use mysqltest1; +EXECUTE stmt_d_1; +connection slave; +SELECT * FROM t1; +db_name db_col_name +test latin1_swedish_ci +test latin1_swedish_ci +connection master; +DROP DATABASE mysqltest1; +use test; +DROP TABLE t1; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_relayspace.result b/mysql-test/suite/engines/funcs/r/rpl_relayspace.result new file mode 100644 index 00000000..90bf18aa --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_relayspace.result @@ -0,0 +1,18 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +connection master; +create table t1 (a int); +drop table t1; +create table t1 (a int); +drop table t1; +connection slave; +reset slave; +start slave io_thread; +include/wait_for_slave_param.inc [Slave_IO_State] +include/stop_slave_io.inc +reset slave; +include/start_slave.inc +include/assert.inc [Assert that master_pos_wait does not timeout nor it returns NULL] +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_replicate_ignore_db.result b/mysql-test/suite/engines/funcs/r/rpl_replicate_ignore_db.result new file mode 100644 index 00000000..1192f986 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_replicate_ignore_db.result @@ -0,0 +1,25 @@ +include/master-slave.inc +[connection master] +drop database if exists mysqltest1; +drop database if exists mysqltest2; +create database mysqltest1; +create database mysqltest2; +use mysqltest1; +create table t1 (a int); +insert into t1 values(1); +connection slave; +select * from mysqltest1.t1; +ERROR 42S02: Table 'mysqltest1.t1' doesn't exist +connection master; +use mysqltest2; +create table t1 (a int); +insert into t1 values(1); +connection slave; +select * from mysqltest2.t1; +a +1 +connection master; +drop database mysqltest1; +drop database mysqltest2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_NOW.result b/mysql-test/suite/engines/funcs/r/rpl_row_NOW.result new file mode 100644 index 00000000..480ad34c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_NOW.result @@ -0,0 +1,30 @@ +include/master-slave.inc +[connection master] +connection master; +create database if not exists mysqltest1; +DROP TABLE IF EXISTS mysqltest1.t1; +CREATE TABLE mysqltest1.t1 (n MEDIUMINT NOT NULL AUTO_INCREMENT, +a TIMESTAMP DEFAULT '2005-05-05 01:01:01', +b TIMESTAMP DEFAULT '2005-05-05 01:01:01', +PRIMARY KEY(n)); +CREATE FUNCTION mysqltest1.f1() RETURNS TIMESTAMP +BEGIN +DECLARE v1 INT DEFAULT 300; +WHILE v1 > 0 DO +SET v1 = v1 - 1; +END WHILE; +RETURN NOW(); +END| +INSERT INTO mysqltest1.t1 VALUES(NULL,NOW(),mysqltest1.f1()); +CREATE TRIGGER mysqltest1.trig1 BEFORE INSERT ON mysqltest1.t1 +FOR EACH ROW BEGIN +SET new.b = mysqltest1.f1(); +END| +INSERT INTO mysqltest1.t1 SET n = NULL, a = now(); +connection slave; +connection master; +DROP TABLE IF EXISTS mysqltest1.t1; +DROP FUNCTION mysqltest1.f1; +DROP DATABASE mysqltest1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_USER.result b/mysql-test/suite/engines/funcs/r/rpl_row_USER.result new file mode 100644 index 00000000..2771c674 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_USER.result @@ -0,0 +1,44 @@ +include/master-slave.inc +[connection master] +set local sql_mode=""; +connection master; +DROP DATABASE IF EXISTS mysqltest1; +CREATE DATABASE mysqltest1; +CREATE USER tester IDENTIFIED BY 'test'; +GRANT ALL ON mysqltest1.* TO 'tester'@'%' IDENTIFIED BY 'test'; +GRANT ALL ON mysqltest1.* TO ''@'localhost%'; +FLUSH PRIVILEGES; +connect m_1,localhost,tester,,mysqltest1; +connection m_1; +CREATE TABLE mysqltest1.t1 (a INT, users VARCHAR(255), PRIMARY KEY(a)); +INSERT INTO mysqltest1.t1 VALUES(1,USER()); +INSERT INTO mysqltest1.t1 VALUES(2,CURRENT_USER()); +create procedure mysqltest1.p1() +begin +INSERT INTO mysqltest1.t1 VALUES(3,USER()); +INSERT INTO mysqltest1.t1 VALUES(4,CURRENT_USER()); +end| +CALL mysqltest1.p1(); +connection master; +SELECT * FROM mysqltest1.t1 ORDER BY a; +a users +1 tester@localhost +2 @localhost% +3 tester@localhost +4 @localhost% +connection slave; +SELECT * FROM mysqltest1.t1 ORDER BY a; +a users +1 tester@localhost +2 @localhost% +3 tester@localhost +4 @localhost% +connection master; +DROP DATABASE mysqltest1; +REVOKE ALL ON mysqltest1.* FROM 'tester'@'%'; +REVOKE ALL ON mysqltest1.* FROM ''@'localhost%'; +DROP USER tester@'%'; +DROP USER ''@'localhost%'; +FLUSH PRIVILEGES; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_drop.result b/mysql-test/suite/engines/funcs/r/rpl_row_drop.result new file mode 100644 index 00000000..8753764e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_drop.result @@ -0,0 +1,55 @@ +include/master-slave.inc +[connection master] +connection master; +CREATE TABLE t1 (a int); +CREATE TABLE t2 (a int); +CREATE TEMPORARY TABLE t2 (a int, b int); +SHOW TABLES; +Tables_in_test +t1 +t2 +connection slave; +SHOW TABLES; +Tables_in_test +t1 +t2 +connection master; +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +t1 +t2 +connection slave; +SHOW TABLES; +Tables_in_test +t1 +t2 +connection master; +CREATE TEMPORARY TABLE t2 (a int, b int); +SHOW TABLES; +Tables_in_test +t1 +t2 +connection slave; +SHOW TABLES; +Tables_in_test +t1 +t2 +connection master; +DROP TABLE t1,t2; +include/show_binlog_events.inc +Log_name Pos Event_type Server_id End_log_pos Info +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ +SHOW TABLES; +Tables_in_test +t2 +connection slave; +SHOW TABLES; +Tables_in_test +t2 +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_func001.result b/mysql-test/suite/engines/funcs/r/rpl_row_func001.result new file mode 100644 index 00000000..ae05b5cf --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_func001.result @@ -0,0 +1,32 @@ +include/master-slave.inc +[connection master] +connection master; +DROP FUNCTION test.f1; +DROP TABLE IF EXISTS test.t1; +create table test.t1 (a int, PRIMARY KEY(a)); +create function test.f1(i int) returns int +begin +insert into test.t1 values(i); +return 0; +end// +select test.f1(1); +test.f1(1) +0 +select test.f1(2); +test.f1(2) +0 +select * from test.t1; +a +1 +2 +connection slave; +connection slave; +select * from test.t1; +a +1 +2 +connection master; +DROP FUNCTION test.f1; +DROP TABLE test.t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_inexist_tbl.result b/mysql-test/suite/engines/funcs/r/rpl_row_inexist_tbl.result new file mode 100644 index 00000000..e2bd199e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_inexist_tbl.result @@ -0,0 +1,27 @@ +include/master-slave.inc +[connection master] +connection master; +create table t1 (a int not null primary key); +insert into t1 values (1); +create table t2 (a int); +insert into t2 values (1); +update t1, t2 set t1.a = 0 where t1.a = t2.a; +connection slave; +show tables; +Tables_in_test +t1 +select * from t1; +a +0 +drop table t1; +connection master; +insert into t1 values (1); +connection slave; +call mtr.add_suppression("Slave SQL.*Error executing row event: .Table .test.t1. doesn.t exist., error.* 1146"); +include/wait_for_slave_sql_error.inc [errno=1146] +==== Clean up ==== +include/stop_slave_io.inc +RESET SLAVE; +connection master; +drop table t1, t2; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_max_relay_size.result b/mysql-test/suite/engines/funcs/r/rpl_row_max_relay_size.result new file mode 100644 index 00000000..41d18d7f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_max_relay_size.result @@ -0,0 +1,83 @@ +include/master-slave.inc +[connection master] +connection slave; +stop slave; +connection master; +# +# Generate a big enough master's binlog to cause relay log rotations +# +create table t1 (a int); +drop table t1; +connection slave; +reset slave; +# +# Test 1 +# +set @my_max_binlog_size= @@global.max_binlog_size, @my_max_relay_log_size=@@global.max_relay_log_size; +set global max_binlog_size=8192; +set global max_relay_log_size=8192-1; +Warnings: +Warning 1292 Truncated incorrect max_relay_log_size value: '8191' +select @@global.max_relay_log_size; +@@global.max_relay_log_size +4096 +start slave; +include/check_slave_is_running.inc +# +# Test 2 +# +stop slave; +reset slave; +set global max_relay_log_size=(5*4096); +select @@global.max_relay_log_size; +@@global.max_relay_log_size 20480 +start slave; +include/check_slave_is_running.inc +# +# Test 3: max_relay_log_size = 0 +# +stop slave; +reset slave; +set global max_relay_log_size=0; +Warnings: +Warning 1292 Truncated incorrect max_relay_log_size value: '0' +select @@global.max_relay_log_size; +@@global.max_relay_log_size 4096 +start slave; +include/check_slave_is_running.inc +# +# Test 4: Tests below are mainly to ensure that we have not coded with wrong assumptions +# +stop slave; +reset slave; +flush logs; +# +# Test 5 +# +reset slave; +start slave; +flush logs; +connection master; +create table t1 (a int); +connection slave; +include/check_slave_is_running.inc +# +# Test 6: one more rotation, to be sure Relay_Log_Space is correctly updated +# +flush logs; +connection master; +drop table t1; +connection slave; +include/check_slave_is_running.inc +connection master; +flush logs; +show master status; +File Position Binlog_Do_DB Binlog_Ignore_DB +master-bin.000002 # +connection slave; +set global max_binlog_size= @my_max_binlog_size; +set global max_relay_log_size= @my_max_relay_log_size; +# +# End of 4.1 tests +# +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_reset_slave.result b/mysql-test/suite/engines/funcs/r/rpl_row_reset_slave.result new file mode 100644 index 00000000..5e595447 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_reset_slave.result @@ -0,0 +1,59 @@ +include/master-slave.inc +[connection master] +connection slave; +Master_User = 'root' +Master_Host = '127.0.0.1' +include/stop_slave.inc +change master to master_user='test'; +Master_User = 'test' +Master_Host = '127.0.0.1' +include/reset_slave.inc +Master_User = 'test' +Master_Host = '127.0.0.1' +change master to master_user='root'; +include/start_slave.inc +Master_User = 'root' +Master_Host = '127.0.0.1' +include/stop_slave.inc +include/reset_slave.inc +include/start_slave.inc +connection master; +create temporary table t1 (a int); +connection slave; +include/stop_slave.inc +include/reset_slave.inc +include/start_slave.inc +show status like 'slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 0 +connection master; +drop temporary table if exists t1; +connection slave; +include/stop_slave.inc +include/reset_slave.inc +include/check_slave_no_error.inc +change master to master_user='impossible_user_name'; +start slave; +include/wait_for_slave_io_error.inc [errno=1045] +include/stop_slave_sql.inc +change master to master_user='root'; +include/start_slave.inc +include/check_slave_no_error.inc +stop slave; +change master to master_user='impossible_user_name'; +start slave; +include/wait_for_slave_io_error.inc [errno=1045] +include/stop_slave_sql.inc +include/reset_slave.inc +include/check_slave_no_error.inc +change master to master_user='root'; +include/reset_slave.inc +include/start_slave.inc +include/stop_slave.inc +reset slave all; +set @@global.gtid_slave_pos= ""; +start slave; +ERROR HY000: Misconfigured slave: MASTER_HOST was not set; Fix in config file or with CHANGE MASTER TO +CHANGE MASTER TO MASTER_HOST= 'MASTER_HOST', MASTER_USER= 'MASTER_USER', MASTER_PORT= MASTER_PORT; +include/start_slave.inc +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp001.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp001.result new file mode 100644 index 00000000..d37425c4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp001.result @@ -0,0 +1,91 @@ +include/master-slave.inc +[connection master] + + +--------------------------------------------- +create table test.t1 (n MEDIUMINT NOT NULL AUTO_INCREMENT, f FLOAT, d DATETIME, PRIMARY KEY(n)); +create procedure test.p1() +begin +INSERT INTO test.t1 (f,d) VALUES (RAND(),NOW()); +end// + + +------------------------------------------- +CREATE TABLE test.t2 (a INT NOT NULL AUTO_INCREMENT, t CHAR(4), PRIMARY KEY(a)); +CREATE PROCEDURE test.p2(n int) +begin +CASE n +WHEN 1 THEN +UPDATE test.t2 set t ='Tex'; +WHEN 2 THEN +UPDATE test.t2 set t ='SQL'; +ELSE +UPDATE test.t2 set t ='NONE'; +END CASE; +end// +INSERT INTO test.t2 VALUES(NULL,'NEW'),(NULL,'NEW'),(NULL,'NEW'),(NULL,'NEW'); +SELECT * FROM t2 ORDER BY a; +a t +1 NEW +2 NEW +3 NEW +4 NEW +connection slave; +SELECT * FROM t2 ORDER BY a; +a t +1 NEW +2 NEW +3 NEW +4 NEW +connection master; +call test.p2(1); +SELECT * FROM t2 ORDER BY a; +a t +1 Tex +2 Tex +3 Tex +4 Tex +connection slave; +SELECT * FROM t2 ORDER BY a; +a t +1 Tex +2 Tex +3 Tex +4 Tex +connection master; +call test.p2(2); +SELECT * FROM t2 ORDER BY a; +a t +1 SQL +2 SQL +3 SQL +4 SQL +connection slave; +SELECT * FROM t2 ORDER BY a; +a t +1 SQL +2 SQL +3 SQL +4 SQL +connection master; +call test.p2(3); +SELECT * FROM t2 ORDER BY a; +a t +1 NONE +2 NONE +3 NONE +4 NONE +connection slave; +SELECT * FROM t2 ORDER BY a; +a t +1 NONE +2 NONE +3 NONE +4 NONE +connection master; +DROP PROCEDURE test.p1; +DROP PROCEDURE test.p2; +DROP TABLE test.t1; +DROP TABLE test.t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp005.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp005.result new file mode 100644 index 00000000..8acc2e20 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp005.result @@ -0,0 +1,92 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t3; +CREATE TABLE IF NOT EXISTS test.t1(id INT, data CHAR(16),PRIMARY KEY(id)); +CREATE TABLE IF NOT EXISTS test.t2(id2 INT,PRIMARY KEY(id2)); +CREATE TABLE IF NOT EXISTS test.t3(id3 INT,PRIMARY KEY(id3), c CHAR(16)); +CREATE PROCEDURE test.p1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE spa CHAR(16); +DECLARE spb,spc INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM test.t1 ORDER BY id; +DECLARE cur2 CURSOR FOR SELECT id2 FROM test.t2 ORDER BY id2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO spb, spa; +FETCH cur2 INTO spc; +IF NOT done THEN +IF spb < spc THEN +INSERT INTO test.t3 VALUES (spb,spa); +ELSE +INSERT INTO test.t3 VALUES (spc,spa); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END| +CREATE PROCEDURE test.p2() +BEGIN +INSERT INTO test.t1 VALUES (4,'MySQL'),(20,'ROCKS'),(11,'Texas'),(10,'kyle'); +INSERT INTO test.t2 VALUES (4),(2),(1),(3); +UPDATE test.t1 SET id=id+4 WHERE id=4; +END| +CALL test.p2(); +SELECT * FROM test.t1 ORDER BY id; +id data +8 MySQL +10 kyle +11 Texas +20 ROCKS +SELECT * FROM test.t2 ORDER BY id2; +id2 +1 +2 +3 +4 +connection slave; +SELECT * FROM test.t1 ORDER BY id; +id data +8 MySQL +10 kyle +11 Texas +20 ROCKS +SELECT * FROM test.t2 ORDER BY id2; +id2 +1 +2 +3 +4 +connection master; +CALL test.p1(); +SELECT * FROM test.t3 ORDER BY id3; +id3 c +1 MySQL +2 kyle +3 Texas +4 ROCKS +connection slave; +SELECT * FROM test.t3 ORDER BY id3; +id3 c +1 MySQL +2 kyle +3 Texas +4 ROCKS +connection master; +ALTER PROCEDURE test.p1 MODIFIES SQL DATA; +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp008.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp008.result new file mode 100644 index 00000000..481c9b3f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp008.result @@ -0,0 +1,29 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP TABLE IF EXISTS test.t2; +CREATE TABLE test.t1 (a INT,PRIMARY KEY(a)); +CREATE TABLE test.t2 (a INT,PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES(1),(2); +CREATE PROCEDURE test.p1() +BEGIN +SELECT SQL_CALC_FOUND_ROWS * FROM test.t1 LIMIT 1; +INSERT INTO test.t2 VALUES(FOUND_ROWS()); +END| +CALL test.p1(); +a +1 +SELECT * FROM test.t2; +a +2 +connection slave; +SELECT * FROM test.t2; +a +2 +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp009.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp009.result new file mode 100644 index 00000000..d4bcfe9f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp009.result @@ -0,0 +1,82 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +CREATE TABLE test.t1 (a INT, PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES (1),(2),(3),(4); +CREATE TABLE test.t2 (a INT, PRIMARY KEY(a)); +CREATE PROCEDURE test.p1 (arg1 CHAR(1)) +BEGIN +DECLARE b, c INT; +IF arg1 = 'a' THEN +BEGIN +DECLARE cur1 CURSOR FOR SELECT A FROM test.t1 WHERE a % 2; +DECLARE continue handler for not found set b = 1; +SET b = 0; +OPEN cur1; +c1_repeat: REPEAT +FETCH cur1 INTO c; +IF (b = 1) THEN +LEAVE c1_repeat; +END IF; +INSERT INTO test.t2 VALUES (c); +UNTIL b = 1 +END REPEAT; +CLOSE cur1; +END; +END IF; +IF arg1 = 'b' THEN +BEGIN +DECLARE cur2 CURSOR FOR SELECT a FROM test.t1 WHERE NOT a % 2; +DECLARE continue handler for not found set b = 1; +SET b = 0; +OPEN cur2; +c2_repeat: REPEAT +FETCH cur2 INTO c; +IF (b = 1) THEN +LEAVE c2_repeat; +END IF; +INSERT INTO test.t2 VALUES (c); +UNTIL b = 1 +END REPEAT; +CLOSE cur2; +END; +END IF; +END| +CALL test.p1('a'); +SELECT * FROM test.t2 ORDER BY a; +a +1 +3 +connection slave; +SELECT * FROM test.t2 ORDER BY a; +a +1 +3 +connection master; +truncate test.t2; +call test.p1('b'); +select * from test.t2 ORDER BY a; +a +2 +4 +connection slave; +SELECT * FROM test.t2 ORDER BY a; +a +2 +4 +connection master; +truncate test.t2; +SELECT * FROM test.t2 ORDER BY a; +a +connection slave; +SELECT * FROM test.t2 ORDER BY a; +a +connection master; +DROP PROCEDURE test.p1; +DROP TABLE test.t1; +DROP TABLE test.t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp010.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp010.result new file mode 100644 index 00000000..6a15298e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp010.result @@ -0,0 +1,59 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP PROCEDURE IF EXISTS test.p3; +DROP PROCEDURE IF EXISTS test.p4; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +CREATE PROCEDURE test.p1() +BEGIN +INSERT INTO test.t1 VALUES(2); +END| +CREATE PROCEDURE test.p2() +BEGIN +DROP TEMPORARY TABLE IF EXISTS test.t1; +CREATE TEMPORARY TABLE test.t1 (a int, PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES(1); +CALL test.p1(); +END| +CALL test.p2(); +SELECT * FROM test.t1 ORDER BY a; +a +1 +2 +connection slave; +show tables; +Tables_in_test +connection master; +CREATE PROCEDURE test.p3() +BEGIN +INSERT INTO test.t2 VALUES(7); +END| +CREATE PROCEDURE test.p4() +BEGIN +DROP TABLE IF EXISTS test.t2; +CREATE TABLE test.t2 (a int, PRIMARY KEY(a)); +INSERT INTO test.t2 VALUES(6); +CALL test.p3(); +END| +CALL test.p4(); +SELECT * FROM test.t2 ORDER BY a; +a +6 +7 +connection slave; +SELECT * FROM test.t2 ORDER BY a; +a +6 +7 +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP PROCEDURE IF EXISTS test.p3; +DROP PROCEDURE IF EXISTS test.p4; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp011.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp011.result new file mode 100644 index 00000000..53a9a964 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp011.result @@ -0,0 +1,70 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP PROCEDURE IF EXISTS test.p3; +DROP PROCEDURE IF EXISTS test.p4; +DROP PROCEDURE IF EXISTS test.p5; +DROP PROCEDURE IF EXISTS test.p6; +DROP PROCEDURE IF EXISTS test.p7; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +CREATE TABLE test.t1 (a int, PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES (1); +CREATE PROCEDURE test.p1() +BEGIN +ALTER TABLE test.t1 ADD COLUMN b CHAR(4) AFTER a; +UPDATE test.t1 SET b = 'rbr' WHERE a = 1; +CALL test.p2(); +END| +CREATE PROCEDURE test.p2() +BEGIN +ALTER TABLE test.t1 ADD COLUMN f FLOAT AFTER b; +UPDATE test.t1 SET f = RAND() WHERE a = 1; +CALL test.p3(); +END| +CREATE PROCEDURE test.p3() +BEGIN +ALTER TABLE test.t1 RENAME test.t2; +CALL test.p4(); +END| +CREATE PROCEDURE test.p4() +BEGIN +ALTER TABLE test.t2 ADD INDEX (f); +ALTER TABLE test.t2 CHANGE a a INT UNSIGNED NOT NULL AUTO_INCREMENT; +INSERT INTO test.t2 VALUES (NULL,'TEST',RAND()); +CALL test.p5(); +END| +CREATE PROCEDURE test.p5() +BEGIN +ALTER TABLE test.t2 ORDER BY f; +INSERT INTO test.t2 VALUES (NULL,'STM',RAND()); +CALL test.p6(); +END| +CREATE PROCEDURE test.p6() +BEGIN +ALTER TABLE test.t2 ADD COLUMN b2 CHAR(4) FIRST; +ALTER TABLE test.t2 ADD COLUMN to_drop BIT(8) AFTER b2; +INSERT INTO test.t2 VALUES ('new',1,NULL,'STM',RAND()); +CALL test.p7(); +END| +CREATE PROCEDURE test.p7() +BEGIN +ALTER TABLE test.t2 DROP COLUMN to_drop; +INSERT INTO test.t2 VALUES ('gone',NULL,'STM',RAND()); +END| +CALL test.p1(); +connection slave; +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP PROCEDURE IF EXISTS test.p3; +DROP PROCEDURE IF EXISTS test.p4; +DROP PROCEDURE IF EXISTS test.p5; +DROP PROCEDURE IF EXISTS test.p6; +DROP PROCEDURE IF EXISTS test.p7; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_sp012.result b/mysql-test/suite/engines/funcs/r/rpl_row_sp012.result new file mode 100644 index 00000000..65cc5662 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_sp012.result @@ -0,0 +1,61 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP PROCEDURE IF EXISTS test.p3; +create user user1@localhost; +grant usage on *.* to user1@localhost; +flush privileges; +SELECT CURRENT_USER(); +CURRENT_USER() +root@localhost +SELECT USER(); +USER() +root@localhost +CREATE PROCEDURE test.p1 () SQL SECURITY INVOKER SELECT CURRENT_USER(), USER(); +CREATE PROCEDURE test.p2 () SQL SECURITY DEFINER CALL test.p1(); +CREATE PROCEDURE test.p3 () SQL SECURITY INVOKER CALL test.p1(); +GRANT EXECUTE ON PROCEDURE p1 TO user1@localhost; +GRANT EXECUTE ON PROCEDURE p2 TO user1@localhost; +GRANT EXECUTE ON PROCEDURE p3 TO user1@localhost; +set sql_mode=default; +connection slave; +connect muser1,localhost,user1,,; +connection muser1; +SELECT CURRENT_USER(); +CURRENT_USER() +user1@localhost +SELECT USER(); +USER() +user1@localhost +CALL test.p3(); +CURRENT_USER() USER() +user1@localhost user1@localhost +CALL test.p2(); +CURRENT_USER() USER() +root@localhost user1@localhost +connect suser1,127.0.0.1,user1,,test,$SLAVE_MYPORT,; +connection master; +connection suser1; +SELECT CURRENT_USER(); +CURRENT_USER() +user1@localhost +SELECT USER(); +USER() +user1@localhost +CALL test.p3(); +CURRENT_USER() USER() +user1@localhost user1@localhost +CALL test.p2(); +CURRENT_USER() USER() +root@localhost user1@localhost +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p3; +DROP PROCEDURE IF EXISTS test.p2; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP USER user1@localhost; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_stop_middle.result b/mysql-test/suite/engines/funcs/r/rpl_row_stop_middle.result new file mode 100644 index 00000000..07be1bfe --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_stop_middle.result @@ -0,0 +1,27 @@ +include/master-slave.inc +[connection master] +connection master; +create table t1 (a int not null auto_increment primary key, b int, key(b)); +connection slave; +include/stop_slave.inc +connection master; +INSERT INTO t1 (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +INSERT INTO t1 (a) SELECT null FROM t1; +connection slave; +include/start_slave.inc +include/stop_slave.inc +drop table t1; +connection master; +drop table t1; diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_trig001.result b/mysql-test/suite/engines/funcs/r/rpl_row_trig001.result new file mode 100644 index 00000000..142c6c61 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_trig001.result @@ -0,0 +1,34 @@ +include/master-slave.inc +[connection master] +CREATE TABLE test.t1 (n MEDIUMINT NOT NULL, d DATETIME, PRIMARY KEY(n)); +CREATE TABLE test.t2 (n MEDIUMINT NOT NULL AUTO_INCREMENT, f FLOAT, d DATETIME, PRIMARY KEY(n)); +CREATE TABLE test.t3 (n MEDIUMINT NOT NULL AUTO_INCREMENT, d DATETIME, PRIMARY KEY(n)); +INSERT INTO test.t1 VALUES (1,NOW()); +CREATE TRIGGER test.t2_ai AFTER INSERT ON test.t2 FOR EACH ROW UPDATE test.t1 SET d=NOW() where n = 1// +CREATE PROCEDURE test.p3() +BEGIN +INSERT INTO test.t3 (d) VALUES (NOW()); +END// +CREATE TRIGGER test.t3_bi_t2 BEFORE INSERT ON test.t2 FOR EACH ROW CALL test.p3()// +CREATE PROCEDURE test.p2() +BEGIN +INSERT INTO test.t2 (f,d) VALUES (RAND(),NOW()); +END// +connection slave; +connection master; +connection master; +INSERT INTO test.t1 VALUES (1+1, NOW()); +connection slave; + + +----------------------------------- +connection master; +DROP PROCEDURE test.p2; +DROP PROCEDURE test.p3; +DROP TRIGGER test.t2_ai; +DROP TRIGGER test.t3_bi_t2; +DROP TABLE test.t1; +DROP TABLE test.t2; +DROP TABLE test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_trig002.result b/mysql-test/suite/engines/funcs/r/rpl_row_trig002.result new file mode 100644 index 00000000..8259edd5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_trig002.result @@ -0,0 +1,75 @@ +include/master-slave.inc +[connection master] +connection master; +DROP TRIGGER test.t2_ai; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +CREATE TABLE test.t2 (value CHAR(30),domain_id INT, mailaccount_id INT, program CHAR(30),keey CHAR(30),PRIMARY KEY(domain_id)); +CREATE TABLE test.t3 (value CHAR(30),domain_id INT, mailaccount_id INT, program CHAR(30),keey CHAR(30),PRIMARY KEY(domain_id)); +CREATE TABLE test.t1 (id INT,domain CHAR(30),PRIMARY KEY(id)); +CREATE TRIGGER test.t2_ai AFTER INSERT ON test.t2 FOR EACH ROW UPDATE test.t3 ms, test.t1 d SET ms.value='No' WHERE ms.domain_id = (SELECT max(id) FROM test.t1 WHERE domain='example.com') AND ms.mailaccount_id IS NULL AND ms.program='spamfilter' AND ms.keey='scan_incoming'| +INSERT INTO test.t1 VALUES (1, 'example.com'),(2, 'mysql.com'),(3, 'earthmotherwear.com'), (4, 'yahoo.com'),(5, 'example.com'); +SELECT * FROM test.t1 ORDER BY id; +id domain +1 example.com +2 mysql.com +3 earthmotherwear.com +4 yahoo.com +5 example.com +connection slave; +SELECT * FROM test.t1 ORDER BY id; +id domain +1 example.com +2 mysql.com +3 earthmotherwear.com +4 yahoo.com +5 example.com +connection master; +INSERT INTO test.t3 VALUES ('Yes', 5, NULL, 'spamfilter','scan_incoming'); +INSERT INTO test.t3 VALUES ('Yes', 1, NULL, 'spamfilter','scan_incoming'); +INSERT INTO test.t2 VALUES ('Yes', 1, NULL, 'spamfilter','scan_incoming'); +select * from test.t2; +value domain_id mailaccount_id program keey +Yes 1 NULL spamfilter scan_incoming +select * from test.t3; +value domain_id mailaccount_id program keey +No 5 NULL spamfilter scan_incoming +Yes 1 NULL spamfilter scan_incoming +connection slave; +select * from test.t2; +value domain_id mailaccount_id program keey +Yes 1 NULL spamfilter scan_incoming +select * from test.t3; +value domain_id mailaccount_id program keey +No 5 NULL spamfilter scan_incoming +Yes 1 NULL spamfilter scan_incoming +connection master; +DELETE FROM test.t1 WHERE id = 1; +SELECT * FROM test.t1 ORDER BY id; +id domain +2 mysql.com +3 earthmotherwear.com +4 yahoo.com +5 example.com +connection master; +SELECT * FROM test.t1 ORDER BY id; +id domain +2 mysql.com +3 earthmotherwear.com +4 yahoo.com +5 example.com +connection slave; +SELECT * FROM test.t1 ORDER BY id; +id domain +2 mysql.com +3 earthmotherwear.com +4 yahoo.com +5 example.com +connection master; +DROP TRIGGER test.t2_ai; +DROP TABLE test.t1; +DROP TABLE test.t2; +DROP TABLE test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_trig003.result b/mysql-test/suite/engines/funcs/r/rpl_row_trig003.result new file mode 100644 index 00000000..239d5917 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_trig003.result @@ -0,0 +1,84 @@ +include/master-slave.inc +[connection master] +connection master; +DROP TRIGGER test.t1_bi; +DROP TRIGGER test.t2_ai; +DROP TRIGGER test.t1_bu; +DROP TRIGGER test.t2_au; +DROP TRIGGER test.t1_bd; +DROP TRIGGER test.t2_ad; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +CREATE TABLE test.t1 (id MEDIUMINT NOT NULL AUTO_INCREMENT, b1 BIT(8), vc VARCHAR(255), bc CHAR(255), d DECIMAL(10,4) DEFAULT 0, f FLOAT DEFAULT 0, total BIGINT UNSIGNED, y YEAR, t TIMESTAMP,PRIMARY KEY(id)); +CREATE TABLE test.t2 (id MEDIUMINT NOT NULL AUTO_INCREMENT, b1 BIT(8), vc VARCHAR(255), bc CHAR(255), d DECIMAL(10,4) DEFAULT 0, f FLOAT DEFAULT 0, total BIGINT UNSIGNED, y YEAR, t TIMESTAMP,PRIMARY KEY(id)); +CREATE TABLE test.t3 (id MEDIUMINT NOT NULL AUTO_INCREMENT, b1 BIT(8), vc VARCHAR(255), bc CHAR(255), d DECIMAL(10,4) DEFAULT 0, f FLOAT DEFAULT 0, total BIGINT UNSIGNED, y YEAR, t TIMESTAMP,PRIMARY KEY(id)); +CREATE TRIGGER test.t1_bi BEFORE INSERT ON test.t1 FOR EACH ROW UPDATE test.t3 SET b1=1 and y=YEAR(NOW())| +CREATE TRIGGER test.t2_ai AFTER INSERT ON test.t2 FOR EACH ROW BEGIN +INSERT INTO test.t3 VALUES(NULL,0,'MySQL Replication team rocks!', 'Dark beer in prague is #1',12345.34,12.51,0,1965,NOW()); +UPDATE test.t3 SET f = ROUND(f); +END| +CREATE TRIGGER test.t1_bu BEFORE UPDATE on test.t1 FOR EACH ROW BEGIN +UPDATE test.t3 SET y = '2000'; +INSERT INTO test.t3 VALUES(NULL,1,'Testing MySQL databases before update ', 'Insert should work',621.43, 0105.21,0,1974,NOW()); +END| +CREATE TRIGGER test.t2_au AFTER UPDATE on test.t2 FOR EACH ROW BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a DECIMAL(10,4); +DECLARE b FLOAT; +DECLARE num MEDIUMINT; +DECLARE cur1 CURSOR FOR SELECT t2.id, t2.d, t2.f FROM test.t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +REPEAT +FETCH cur1 INTO num, a, b; +IF NOT done THEN +UPDATE test.t3 SET total =(a*b) WHERE ID = num; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +END| +CREATE TRIGGER test.t1_bd BEFORE DELETE on test.t1 FOR EACH ROW BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a BIT(8); +DECLARE b VARCHAR(255); +DECLARE c CHAR(255); +DECLARE d DECIMAL(10,4); +DECLARE e FLOAT; +DECLARE f BIGINT UNSIGNED; +DECLARE g YEAR; +DECLARE h TIMESTAMP; +DECLARE cur1 CURSOR FOR SELECT t1.b1, t1.vc, t1.bc, t1.d, t1.f, t1.total, t1.y, t1.t FROM test.t1; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +REPEAT +FETCH cur1 INTO a, b, c, d, e, f, g, h; +IF NOT done THEN +INSERT INTO test.t3 VALUES(NULL, a, b, c, d, e, f, g, h); +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +END| +CREATE TRIGGER test.t2_ad AFTER DELETE ON test.t2 FOR EACH ROW +DELETE FROM test.t1| +INSERT INTO test.t1 VALUES(NULL,1,'Testing MySQL databases is a cool ', 'Must make it bug free for the customer',654321.4321,15.21,0,1965,NOW()); +INSERT INTO test.t2 VALUES(NULL,0,'Testing MySQL databases is a cool ', 'MySQL Customers ROCK!',654321.4321,1.24521,0,YEAR(NOW()),NOW()); +UPDATE test.t1 SET b1 = 0 WHERE b1 = 1; +INSERT INTO test.t2 VALUES(NULL,1,'This is an after update test.', 'If this works, total will not be zero on the master or slave',1.4321,5.221,0,YEAR(NOW()),NOW()); +UPDATE test.t2 SET b1 = 0 WHERE b1 = 1; +INSERT INTO test.t1 VALUES(NULL,1,'add some more test data test.', 'and hope for the best', 3.321,5.221,0,YEAR(NOW()),NOW()); +DELETE FROM test.t1 WHERE id = 1; +DELETE FROM test.t2 WHERE id = 1; +connection slave; +connection master; +DROP TRIGGER test.t1_bi; +DROP TRIGGER test.t2_ai; +DROP TRIGGER test.t1_bu; +DROP TRIGGER test.t2_au; +DROP TRIGGER test.t1_bd; +DROP TRIGGER test.t2_ad; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_until.result b/mysql-test/suite/engines/funcs/r/rpl_row_until.result new file mode 100644 index 00000000..8ef10bf4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_until.result @@ -0,0 +1,74 @@ +include/master-slave.inc +[connection master] +connection master; +CREATE TABLE t1(n INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t1 VALUES (1),(2),(3),(4); +DROP TABLE t1; +CREATE TABLE t2(n INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +INSERT INTO t2 VALUES (1),(2); +INSERT INTO t2 VALUES (3),(4); +DROP TABLE t2; +connection slave; +include/stop_slave.inc +include/reset_slave.inc +CHANGE MASTER TO MASTER_USER='root', MASTER_CONNECT_RETRY=1, MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT; +connection slave; +START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_drop_t1; +include/wait_for_slave_sql_to_stop.inc +SELECT * FROM t1; +n +1 +2 +3 +4 +include/check_slave_param.inc [Exec_Master_Log_Pos] +START SLAVE UNTIL MASTER_LOG_FILE='master-no-such-bin.000001', MASTER_LOG_POS=291; +include/wait_for_slave_sql_to_stop.inc +SELECT * FROM t1; +n +1 +2 +3 +4 +include/check_slave_param.inc [Exec_Master_Log_Pos] +START SLAVE; +include/wait_for_slave_to_start.inc +connection master; +connection slave; +include/stop_slave.inc +START SLAVE SQL_THREAD UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_create_t2; +include/wait_for_slave_param.inc [Until_Log_Pos] +include/wait_for_slave_sql_to_stop.inc +include/check_slave_param.inc [Exec_Master_Log_Pos] +START SLAVE UNTIL MASTER_LOG_FILE='master-bin', MASTER_LOG_POS=MASTER_LOG_POS; +ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL +START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS, RELAY_LOG_POS=RELAY_LOG_POS; +ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL +START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001'; +ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL +START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000009'; +ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL +START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000002', MASTER_LOG_POS=MASTER_LOG_POS; +ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL +START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS; +include/stop_slave.inc +include/reset_slave.inc +include/start_slave.inc +include/rpl_reset.inc +connection master; +CREATE TABLE t1 (a INT); +INSERT INTO t1 VALUES (1); +connection slave; +include/stop_slave_sql.inc +connection master; +INSERT INTO t1 VALUES (2); +INSERT INTO t1 VALUES (3); +include/sync_slave_io_with_master.inc +start slave until relay_log_file='slave-relay-bin.000002', relay_log_pos=relay_log_pos; +include/wait_for_slave_sql_to_stop.inc +include/assert.inc [table t1 should have two rows.] +include/start_slave.inc +connection master; +DROP TABLE t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_row_view01.result b/mysql-test/suite/engines/funcs/r/rpl_row_view01.result new file mode 100644 index 00000000..5c9944e7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_row_view01.result @@ -0,0 +1,106 @@ +include/master-slave.inc +[connection master] +connection master; +create database if not exists mysqltest1; +DROP VIEW IF EXISTS mysqltest1.v1; +DROP VIEW IF EXISTS mysqltest1.v2; +DROP VIEW IF EXISTS mysqltest1.v3; +DROP VIEW IF EXISTS mysqltest1.v4; +DROP TABLE IF EXISTS mysqltest1.t3; +DROP TABLE IF EXISTS mysqltest1.t1; +DROP TABLE IF EXISTS mysqltest1.t2; +DROP TABLE IF EXISTS mysqltest1.t4; +CREATE TABLE mysqltest1.t1 (a INT, c CHAR(6),PRIMARY KEY(a)); +CREATE TABLE mysqltest1.t2 (a INT, c CHAR(6),PRIMARY KEY(a)); +CREATE TABLE mysqltest1.t3 (a INT, c CHAR(6), c2 CHAR(6), PRIMARY KEY(a)); +CREATE TABLE mysqltest1.t4 (a INT, qty INT, price INT,PRIMARY KEY(a)); +CREATE TABLE mysqltest1.t5 (qty INT, price INT, total INT, PRIMARY KEY(qty)); +INSERT INTO mysqltest1.t1 VALUES (1,'Thank'),(2,'it'),(3,'Friday'); +INSERT INTO mysqltest1.t2 VALUES (1,'GOD'),(2,'is'),(3,'TGIF'); +INSERT INTO mysqltest1.t4 VALUES(1, 3, 50),(2, 18, 3),(4, 4, 4); +CREATE VIEW mysqltest1.v2 AS SELECT qty, price, qty*price AS value FROM mysqltest1.t4 ORDER BY qty; +CREATE VIEW mysqltest1.v1 AS SELECT t1.a, t1.c, t2.c as c2 FROM mysqltest1.t1 as t1, mysqltest1.t2 AS t2 WHERE mysqltest1.t1.a = mysqltest1.t2.a ORDER BY a; +CREATE VIEW mysqltest1.v3 AS SELECT * FROM mysqltest1.t1; +CREATE VIEW mysqltest1.v4 AS SELECT * FROM mysqltest1.v3 WHERE a > 1 WITH LOCAL CHECK OPTION; +SELECT * FROM mysqltest1.v2; +qty price value +3 50 150 +4 4 16 +18 3 54 +SELECT * FROM mysqltest1.v1; +a c c2 +1 Thank GOD +2 it is +3 Friday TGIF +connection slave; +SELECT * FROM mysqltest1.v2; +qty price value +3 50 150 +4 4 16 +18 3 54 +SELECT * FROM mysqltest1.v1; +a c c2 +1 Thank GOD +2 it is +3 Friday TGIF +connection master; +INSERT INTO mysqltest1.t5 SELECT * FROM mysqltest1.v2; +INSERT INTO mysqltest1.t3 SELECT * FROM mysqltest1.v1; +SELECT * FROM mysqltest1.t5 ORDER BY qty; +qty price total +3 50 150 +4 4 16 +18 3 54 +SELECT * FROM mysqltest1.t3 ORDER BY a; +a c c2 +1 Thank GOD +2 it is +3 Friday TGIF +connection slave; +SELECT * FROM mysqltest1.t5 ORDER BY qty; +qty price total +3 50 150 +4 4 16 +18 3 54 +SELECT * FROM mysqltest1.t3 ORDER BY a; +a c c2 +1 Thank GOD +2 it is +3 Friday TGIF +connection master; +INSERT INTO mysqltest1.v4 VALUES (4,'TEST'); +SELECT * FROM mysqltest1.t1 ORDER BY a; +a c +1 Thank +2 it +3 Friday +4 TEST +SELECT * FROM mysqltest1.v4 ORDER BY a; +a c +2 it +3 Friday +4 TEST +connection slave; +SELECT * FROM mysqltest1.t1 ORDER BY a; +a c +1 Thank +2 it +3 Friday +4 TEST +SELECT * FROM mysqltest1.v4 ORDER BY a; +a c +2 it +3 Friday +4 TEST +connection master; +DROP VIEW IF EXISTS mysqltest1.v1; +DROP VIEW IF EXISTS mysqltest1.v2; +DROP VIEW IF EXISTS mysqltest1.v3; +DROP VIEW IF EXISTS mysqltest1.v4; +DROP TABLE IF EXISTS mysqltest1.t3; +DROP TABLE IF EXISTS mysqltest1.t1; +DROP TABLE IF EXISTS mysqltest1.t2; +DROP TABLE IF EXISTS mysqltest1.t4; +DROP DATABASE mysqltest1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_server_id1.result b/mysql-test/suite/engines/funcs/r/rpl_server_id1.result new file mode 100644 index 00000000..33d1abb3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_server_id1.result @@ -0,0 +1,21 @@ +include/master-slave.inc +[connection master] +connection slave; +create table t1 (n int); +reset master; +include/stop_slave.inc +change master to master_port=SLAVE_PORT; +Slave_IO_Running = 'No' +Slave_SQL_Running = 'No' +Last_SQL_Errno = '0' +Last_SQL_Error = '' +Exec_Master_Log_Pos = '0' +start slave; +insert into t1 values (1); +include/wait_for_slave_param.inc [Last_IO_Errno] +Last_IO_Errno = '1593' +Last_IO_Error = 'Fatal error: The slave I/O thread stops because master and slave have equal MariaDB server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).' +include/stop_slave.inc +reset slave; +reset master; +drop table t1; diff --git a/mysql-test/suite/engines/funcs/r/rpl_server_id2.result b/mysql-test/suite/engines/funcs/r/rpl_server_id2.result new file mode 100644 index 00000000..3d8eeb02 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_server_id2.result @@ -0,0 +1,41 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +CHANGE MASTER TO MASTER_USE_GTID=NO; +include/start_slave.inc +create table t1 (n int); +reset master; +stop slave; +include/wait_for_slave_to_stop.inc +change master to master_port=SLAVE_PORT; +start slave; +include/wait_for_slave_to_start.inc +insert into t1 values (1); +select * from t1; +n +1 +1 +stop slave; +include/wait_for_slave_to_stop.inc +drop table t1; +connection master; +reset master; +create table t1(n int); +create table t2(n int); +connection slave; +change master to master_port=MASTER_PORT; +start slave until master_log_file='master-bin.000001', master_log_pos=UNTIL_POS; +include/wait_for_slave_io_to_start.inc +include/wait_for_slave_sql_to_stop.inc +*** checking until position execution: must be only t1 in the list *** +show tables; +Tables_in_test +t1 +connection slave; +start slave sql_thread; +connection master; +drop table t1; +drop table t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_session_var.result b/mysql-test/suite/engines/funcs/r/rpl_session_var.result new file mode 100644 index 00000000..67863583 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_session_var.result @@ -0,0 +1,58 @@ +include/master-slave.inc +[connection master] +drop table if exists t1; +Warnings: +Note 1051 Unknown table 'test.t1' +create table t1(a varchar(100),b int); +set @@session.sql_mode=pipes_as_concat; +insert into t1 values('My'||'SQL', 1); +set @@session.sql_mode=default; +insert into t1 values('1'||'2', 2); +select * from t1 where b<3 order by a; +a b +1 2 +MySQL 1 +connection slave; +select * from t1 where b<3 order by a; +a b +1 2 +MySQL 1 +connection master; +set @@session.sql_mode=ignore_space; +insert into t1 values(password ('MySQL'), 3); +set @@session.sql_mode=ansi_quotes; +create table "t2" ("a" int); +drop table t1, t2; +set @@session.sql_mode=default; +create table t1(a int auto_increment primary key); +create table t2(b int, a int); +set @@session.sql_auto_is_null=1; +insert into t1 values(null); +insert into t2 select 1,a from t1 where a is null; +set @@session.sql_auto_is_null=0; +insert into t1 values(null); +insert into t2 select 2,a from t1 where a is null; +select * from t2 order by b; +b a +1 1 +connection slave; +select * from t2 order by b; +b a +1 1 +connection master; +drop table t1,t2; +connection slave; +connection master; +CREATE TABLE t1 ( +`id` int(11) NOT NULL auto_increment, +`data` varchar(100), +PRIMARY KEY (`id`) +) ENGINE=MyISAM; +INSERT INTO t1(data) VALUES(SESSION_USER()); +connection slave; +SELECT length(data) < 100 FROM t1; +length(data) < 100 +1 +connection master; +drop table t1; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_sf.result b/mysql-test/suite/engines/funcs/r/rpl_sf.result new file mode 100644 index 00000000..e692e31f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_sf.result @@ -0,0 +1,26 @@ +include/master-slave.inc +[connection master] +set global log_bin_trust_function_creators=0; +set binlog_format=STATEMENT; +create function fn16456() +returns int +begin +return unix_timestamp(); +end| +ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) +set global log_bin_trust_function_creators=1; +create function fn16456() +returns int +begin +return unix_timestamp(); +end| +set global log_bin_trust_function_creators=0; +set binlog_format=ROW; +select fn16456(); +fn16456() +timestamp +set binlog_format=STATEMENT; +select fn16456(); +ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) +drop function fn16456; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_skip_error.result b/mysql-test/suite/engines/funcs/r/rpl_skip_error.result new file mode 100644 index 00000000..98c165e7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_skip_error.result @@ -0,0 +1,18 @@ +include/master-slave.inc +[connection master] +create table t1 (n int not null primary key); +connection slave; +insert into t1 values (1); +connection master; +insert into t1 values (1); +insert into t1 values (2),(3); +connection slave; +select * from t1 ORDER BY n; +n +1 +2 +3 +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_slave_status.result b/mysql-test/suite/engines/funcs/r/rpl_slave_status.result new file mode 100644 index 00000000..1c81cec2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_slave_status.result @@ -0,0 +1,48 @@ +include/master-slave.inc +[connection master] +==== Create new replication user ==== +connection master; +GRANT REPLICATION SLAVE ON *.* TO rpl@127.0.0.1 IDENTIFIED BY 'rpl'; +connection slave; +include/stop_slave.inc +set @save_relay_log_purge=@@global.relay_log_purge; +set @@global.relay_log_purge=0; +CHANGE MASTER TO master_user='rpl', master_password='rpl'; +select @@global.relay_log_purge; +@@global.relay_log_purge +0 +set @@global.relay_log_purge=1; +CHANGE MASTER TO master_user='rpl', master_password='rpl'; +select @@global.relay_log_purge; +@@global.relay_log_purge +1 +set @@global.relay_log_purge=@save_relay_log_purge; +CHANGE MASTER TO master_user='rpl', master_password='rpl'; +include/start_slave.inc +==== Do replication as new user ==== +connection master; +CREATE TABLE t1 (n INT); +INSERT INTO t1 VALUES (1); +connection slave; +SELECT * FROM t1; +n +1 +==== Delete new replication user ==== +connection master; +DROP USER rpl@127.0.0.1; +FLUSH PRIVILEGES; +connection slave; +==== Restart slave without privileges ===== +include/stop_slave.inc +START SLAVE; +include/wait_for_slave_sql_to_start.inc +include/wait_for_slave_io_to_stop.inc +==== Verify that Slave IO thread stopped with error ==== +include/wait_for_slave_io_error.inc [errno=1045] +==== Cleanup (Note that slave IO thread is not running) ==== +include/stop_slave_sql.inc +CHANGE MASTER TO MASTER_USER = 'root', MASTER_PASSWORD = ''; +include/rpl_reset.inc +connection master; +DROP TABLE t1; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.rdiff b/mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.rdiff new file mode 100644 index 00000000..da41283e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.rdiff @@ -0,0 +1,479 @@ +--- /home/alice/git/10.3/mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.result~ 2021-03-19 17:27:12.935559866 +0100 ++++ /home/alice/git/10.3/mysql-test/suite/engines/funcs/r/rpl_sp,myisam,mix.reject 2021-03-19 17:27:14.071534938 +0100 +@@ -126,12 +126,15 @@ + show warnings; + Level Code Message + Error 1062 Duplicate entry '20' for key 'a' ++Warning 1196 Some non-transactional changed tables couldn't be rolled back + Note 4094 At line 4 in mysqltest1.foo4 + select * from t2; + a ++20 + connection slave; + select * from t2; + a ++20 + select * from mysql.proc where name="foo4" and db='mysqltest1'; + db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate + mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES DEFINER begin +@@ -171,20 +174,16 @@ + insert into t2 values(fn1(21)); + select * from t1; + a +-15 + 20 + 21 +-5 + select * from t2; + a + 23 + connection slave; + select * from t1; + a +-15 + 20 + 21 +-5 + select * from t2; + a + 23 +@@ -292,13 +291,18 @@ + Warnings: + Error 1062 Duplicate entry '100' for key 'a' + Note 4094 At line 3 in mysqltest1.fn1 ++Warning 1196 Some non-transactional changed tables couldn't be rolled back + select fn1(20); + ERROR 23000: Duplicate entry '20' for key 'a' + select * from t2; + a ++20 ++100 + connection slave; + select * from t2; + a ++20 ++100 + connection con1; + create trigger trg before insert on t1 for each row set new.a= 10; + ERROR 42000: TRIGGER command denied to user 'zedjzlcsjhd'@'localhost' for table 't1' +@@ -472,13 +476,13 @@ + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8)) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (unix_timestamp()) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo2`() + select * from mysqltest1.t1 +@@ -509,24 +513,24 @@ + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (15) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; alter procedure foo4 sql security invoker + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (5) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t2 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; alter table t2 add unique (a) + master-bin.000001 # Gtid # # GTID #-#-# +@@ -537,6 +541,9 @@ + begin + insert into t2 values(20),(20); + end ++master-bin.000001 # Gtid # # BEGIN GTID #-#-# ++master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(20),(20) ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo4 + master-bin.000001 # Gtid # # GTID #-#-# +@@ -557,10 +564,10 @@ + master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; SELECT `mysqltest1`.`fn1`(20) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(fn1(21)) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; drop function fn1 + master-bin.000001 # Gtid # # GTID #-#-# +@@ -571,10 +578,10 @@ + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values(fn1()) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` FUNCTION `fn2`() RETURNS int(11) + NO SQL +@@ -589,7 +596,7 @@ + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t2 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; alter table t2 add unique (a) + master-bin.000001 # Gtid # # GTID #-#-# +@@ -601,21 +608,27 @@ + return 10; + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# ++master-bin.000001 # Query # # use `mysqltest1`; SELECT `mysqltest1`.`fn1`(100) ++master-bin.000001 # Query # # COMMIT ++master-bin.000001 # Gtid # # BEGIN GTID #-#-# ++master-bin.000001 # Query # # use `mysqltest1`; SELECT `mysqltest1`.`fn1`(20) ++master-bin.000001 # Query # # COMMIT ++master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10 + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (1) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; drop trigger trg + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (1) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() + READS SQL DATA +@@ -647,7 +660,7 @@ + master-bin.000001 # Query # # use `test`; create table t1 (a int) + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `test`; insert into t1 (a) values (f1()) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `test`; drop view v1 + master-bin.000001 # Gtid # # GTID #-#-# +@@ -663,7 +676,7 @@ + INSERT INTO t1 VALUES(arg) + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci')) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `test`; DROP PROCEDURE p1 + master-bin.000001 # Gtid # # GTID #-#-# +@@ -697,7 +710,7 @@ + begin end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest2`; insert into t values ( 1 ) +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + master-bin.000001 # Gtid # # GTID #-#-# + master-bin.000001 # Query # # use `mysqltest2`; CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) + begin +@@ -706,7 +719,7 @@ + end + master-bin.000001 # Gtid # # BEGIN GTID #-#-# + master-bin.000001 # Query # # use `mysqltest`; SELECT `mysqltest2`.`f1`() +-master-bin.000001 # Xid # # COMMIT /* XID */ ++master-bin.000001 # Query # # COMMIT + connection slave; + set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators; + connection master; +@@ -801,19 +814,25 @@ + SET TIMESTAMP=t/*!*/; + insert into t1 values ( NAME_CONST('b',8)) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + insert into t1 values (unix_timestamp()) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + delete from t1 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + CREATE DEFINER=`root`@`localhost` PROCEDURE `foo2`() + select * from mysqltest1.t1 +@@ -858,21 +877,27 @@ + SET TIMESTAMP=t/*!*/; + insert into t2 values(3) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + SET @@session.sql_mode=0/*!*/; + insert into t1 values (15) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + SET @@session.sql_mode=1411383296/*!*/; + insert into t2 values(3) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + SET @@session.sql_mode=0/*!*/; + alter procedure foo4 sql security invoker +@@ -883,20 +908,26 @@ + SET @@session.sql_mode=1411383296/*!*/; + insert into t2 values(3) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + insert into t1 values (5) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + SET @@session.sql_mode=0/*!*/; + delete from t2 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + alter table t2 add unique (a) + /*!*/; +@@ -910,6 +941,14 @@ + insert into t2 values(20),(20); + end + /*!*/; ++START TRANSACTION ++/*!*/; ++SET TIMESTAMP=t/*!*/; ++insert into t2 values(20),(20) ++/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + drop procedure foo4 + /*!*/; +@@ -943,13 +982,17 @@ + SET TIMESTAMP=t/*!*/; + SELECT `mysqltest1`.`fn1`(20) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + insert into t2 values(fn1(21)) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + drop function fn1 + /*!*/; +@@ -965,13 +1008,17 @@ + SET TIMESTAMP=t/*!*/; + delete from t1 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + insert into t1 values(fn1()) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + SET @@session.sql_mode=1411383296/*!*/; + CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` FUNCTION `fn2`() RETURNS int(11) +@@ -993,7 +1040,9 @@ + SET TIMESTAMP=t/*!*/; + delete from t2 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + alter table t2 add unique (a) + /*!*/; +@@ -1010,9 +1059,27 @@ + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; ++SELECT `mysqltest1`.`fn1`(100) ++/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; ++START TRANSACTION ++/*!*/; ++SET TIMESTAMP=t/*!*/; ++SELECT `mysqltest1`.`fn1`(20) ++/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; ++START TRANSACTION ++/*!*/; ++SET TIMESTAMP=t/*!*/; + delete from t1 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10 + /*!*/; +@@ -1021,13 +1088,17 @@ + SET TIMESTAMP=t/*!*/; + insert into t1 values (1) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + START TRANSACTION + /*!*/; + SET TIMESTAMP=t/*!*/; + delete from t1 + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + drop trigger trg + /*!*/; +@@ -1036,7 +1107,9 @@ + SET TIMESTAMP=t/*!*/; + insert into t1 values (1) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() + READS SQL DATA +@@ -1081,7 +1154,9 @@ + SET TIMESTAMP=t/*!*/; + insert into t1 (a) values (f1()) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + drop view v1 + /*!*/; +@@ -1106,7 +1181,9 @@ + SET TIMESTAMP=t/*!*/; + INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci')) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + DROP PROCEDURE p1 + /*!*/; +@@ -1158,7 +1235,9 @@ + SET TIMESTAMP=t/*!*/; + insert into t values ( 1 ) + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) + begin +@@ -1172,7 +1251,9 @@ + SET TIMESTAMP=t/*!*/; + SELECT `mysqltest2`.`f1`() + /*!*/; +-COMMIT/*!*/; ++SET TIMESTAMP=t/*!*/; ++COMMIT ++/*!*/; + SET TIMESTAMP=t/*!*/; + drop database mysqltest + /*!*/; diff --git a/mysql-test/suite/engines/funcs/r/rpl_sp.result b/mysql-test/suite/engines/funcs/r/rpl_sp.result new file mode 100644 index 00000000..832345f1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_sp.result @@ -0,0 +1,1312 @@ +include/master-slave.inc +[connection master] +set local sql_mode=''; +drop database if exists mysqltest1; +create database mysqltest1; +use mysqltest1; +create table t1 (a varchar(100)); +connection slave; +use mysqltest1; +connection master; +create procedure foo() +begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end| +select * from mysql.proc where name='foo' and db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +mysqltest1 foo PROCEDURE foo SQL CONTAINS_SQL NO DEFINER begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end NONE +connection slave; +select * from mysql.proc where name='foo' and db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +mysqltest1 foo PROCEDURE foo SQL CONTAINS_SQL NO DEFINER begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end NONE +connection master; +set timestamp=1000000000; +call foo(); +select * from t1; +a +8 +1000000000 +connection slave; +select * from t1; +a +8 +1000000000 +connection master; +delete from t1; +create procedure foo2() +select * from mysqltest1.t1; +call foo2(); +a +alter procedure foo2 contains sql; +drop table t1; +create table t1 (a int); +create table t2 like t1; +create procedure foo3() +deterministic +insert into t1 values (15); +grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1; +grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1; +grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1; +SELECT 1; +1 +1 +connect con1,127.0.0.1,zedjzlcsjhd,,mysqltest1,$MASTER_MYPORT,; +connection con1; +create procedure foo4() +deterministic +begin +insert into t2 values(3); +insert into t1 values (5); +end| +call foo4(); +Got one of the listed errors +connection master; +call foo3(); +show warnings; +Level Code Message +call foo4(); +Got one of the listed errors +alter procedure foo4 sql security invoker; +call foo4(); +show warnings; +Level Code Message +select * from t1; +a +15 +5 +select * from t2; +a +3 +3 +3 +connection slave; +select * from t1; +a +15 +5 +select * from t2; +a +3 +3 +3 +connection master; +delete from t2; +alter table t2 add unique (a); +drop procedure foo4; +create procedure foo4() +deterministic +begin +insert into t2 values(20),(20); +end| +call foo4(); +ERROR 23000: Duplicate entry '20' for key 'a' +show warnings; +Level Code Message +Error 1062 Duplicate entry '20' for key 'a' +Note 4094 At line 4 in mysqltest1.foo4 +select * from t2; +a +connection slave; +select * from t2; +a +select * from mysql.proc where name="foo4" and db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES DEFINER begin +insert into t2 values(20),(20); +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +insert into t2 values(20),(20); +end NONE +connection master; +drop procedure foo4; +select * from mysql.proc where name="foo4" and db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +connection slave; +select * from mysql.proc where name="foo4" and db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +connection master; +drop procedure foo; +drop procedure foo2; +drop procedure foo3; +create function fn1(x int) +returns int +begin +insert into t1 values (x); +return x+2; +end| +ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) +create function fn1(x int) +returns int +deterministic +begin +insert into t1 values (x); +return x+2; +end| +delete t1,t2 from t1,t2; +select fn1(20); +fn1(20) +22 +insert into t2 values(fn1(21)); +select * from t1; +a +15 +20 +21 +5 +select * from t2; +a +23 +connection slave; +select * from t1; +a +15 +20 +21 +5 +select * from t2; +a +23 +connection master; +drop function fn1| +create function fn1() +returns int +no sql +begin +return unix_timestamp(); +end| +alter function fn1 contains sql; +ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) +delete from t1; +set timestamp=1000000000; +insert into t1 values(fn1()); +connection con1; +create function fn2() +returns int +no sql +begin +return unix_timestamp(); +end| +ERROR HY000: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) +connection master; +set @old_log_bin_trust_function_creators= @@global.log_bin_trust_function_creators; +set global log_bin_trust_function_creators=0; +set global log_bin_trust_function_creators=1; +connection slave; +set @old_log_bin_trust_function_creators= @@global.log_bin_trust_function_creators; +set global log_bin_trust_function_creators=1; +connection con1; +create function fn2() +returns int +no sql +begin +return unix_timestamp(); +end| +connection master; +create function fn3() +returns int +not deterministic +reads sql data +begin +return 0; +end| +select fn3(); +fn3() +0 +select * from mysql.proc where db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +mysqltest1 fn1 FUNCTION fn1 SQL NO_SQL NO DEFINER int(11) begin +return unix_timestamp(); +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +return unix_timestamp(); +end NONE +mysqltest1 fn2 FUNCTION fn2 SQL NO_SQL NO DEFINER int(11) begin +return unix_timestamp(); +end zedjzlcsjhd@localhost # # STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION latin1 latin1_swedish_ci latin1_swedish_ci begin +return unix_timestamp(); +end NONE +mysqltest1 fn3 FUNCTION fn3 SQL READS_SQL_DATA NO DEFINER int(11) begin +return 0; +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +return 0; +end NONE +select * from t1; +a +1000000000 +connection slave; +use mysqltest1; +select * from t1; +a +1000000000 +select * from mysql.proc where db='mysqltest1'; +db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate +mysqltest1 fn1 FUNCTION fn1 SQL NO_SQL NO DEFINER int(11) begin +return unix_timestamp(); +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +return unix_timestamp(); +end NONE +mysqltest1 fn2 FUNCTION fn2 SQL NO_SQL NO DEFINER int(11) begin +return unix_timestamp(); +end zedjzlcsjhd@localhost # # STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION latin1 latin1_swedish_ci latin1_swedish_ci begin +return unix_timestamp(); +end NONE +mysqltest1 fn3 FUNCTION fn3 SQL READS_SQL_DATA NO DEFINER int(11) begin +return 0; +end root@localhost # # latin1 latin1_swedish_ci latin1_swedish_ci begin +return 0; +end NONE +connection master; +delete from t2; +alter table t2 add unique (a); +Warnings: +Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release +drop function fn1; +create function fn1(x int) +returns int +begin +insert into t2 values(x),(x); +return 10; +end| +do fn1(100); +Warnings: +Error 1062 Duplicate entry '100' for key 'a' +Note 4094 At line 3 in mysqltest1.fn1 +select fn1(20); +ERROR 23000: Duplicate entry '20' for key 'a' +select * from t2; +a +connection slave; +select * from t2; +a +connection con1; +create trigger trg before insert on t1 for each row set new.a= 10; +ERROR 42000: TRIGGER command denied to user 'zedjzlcsjhd'@'localhost' for table `mysqltest1`.`t1` +connection master; +delete from t1; +create trigger trg before insert on t1 for each row set new.a= 10; +insert into t1 values (1); +select * from t1; +a +10 +connection slave; +select * from t1; +a +10 +connection master; +delete from t1; +drop trigger trg; +insert into t1 values (1); +select * from t1; +a +1 +connection slave; +select * from t1; +a +1 +connection master; +create procedure foo() +not deterministic +reads sql data +select * from t1; +connection slave; +call foo(); +a +1 +connection master; +drop procedure foo; +connection slave; +connection master; +drop function fn1; +drop database mysqltest1; +drop user "zedjzlcsjhd"@127.0.0.1; +use test; +connection slave; +use test; +connection master; +drop function if exists f1; +create function f1() returns int reads sql data +begin +declare var integer; +declare c cursor for select a from v1; +open c; +fetch c into var; +close c; +return var; +end| +create view v1 as select 1 as a; +create table t1 (a int); +insert into t1 (a) values (f1()); +select * from t1; +a +1 +drop view v1; +drop function f1; +connection slave; +connection slave; +select * from t1; +a +1 +connection master; +DROP PROCEDURE IF EXISTS p1; +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(col VARCHAR(10)); +CREATE PROCEDURE p1(arg VARCHAR(10)) +INSERT INTO t1 VALUES(arg); +CALL p1('test'); +SELECT * FROM t1; +col +test +connection slave; +SELECT * FROM t1; +col +test +connection master; +DROP PROCEDURE p1; + +---> Test for BUG#20438 + +---> Preparing environment... +connection master; +DROP PROCEDURE IF EXISTS p1; +DROP FUNCTION IF EXISTS f1; + +---> Synchronizing slave with master... +connection slave; +connection master; + +---> Creating procedure... +/*!50003 CREATE PROCEDURE p1() SET @a = 1 */; +/*!50003 CREATE FUNCTION f1() RETURNS INT RETURN 0 */; + +---> Checking on master... +SHOW CREATE PROCEDURE p1; +Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation +p1 CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`() +SET @a = 1 latin1 latin1_swedish_ci latin1_swedish_ci +SHOW CREATE FUNCTION f1; +Function sql_mode Create Function character_set_client collation_connection Database Collation +f1 CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +RETURN 0 latin1 latin1_swedish_ci latin1_swedish_ci + +---> Synchronizing slave with master... +connection slave; + +---> Checking on slave... +SHOW CREATE PROCEDURE p1; +Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation +p1 CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`() +SET @a = 1 latin1 latin1_swedish_ci latin1_swedish_ci +SHOW CREATE FUNCTION f1; +Function sql_mode Create Function character_set_client collation_connection Database Collation +f1 CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +RETURN 0 latin1 latin1_swedish_ci latin1_swedish_ci +connection master; + +---> Cleaning up... +DROP PROCEDURE p1; +DROP FUNCTION f1; +connection slave; +connection master; +connection master; +drop table t1; +connection slave; +connection master; +drop database if exists mysqltest; +drop database if exists mysqltest2; +create database mysqltest; +create database mysqltest2; +use mysqltest2; +create table t ( t integer ); +create procedure mysqltest.test() begin end; +insert into t values ( 1 ); +create procedure `\\`.test() begin end; +ERROR 42000: Unknown database '\\' +connection master; +create function f1 () returns int +begin +insert into t values (1); +return 0; +end| +connection slave; +connection master; +use mysqltest; +set @a:= mysqltest2.f1(); +connection slave; +connection master; +include/show_binlog_events.inc +Log_name Pos Event_type Server_id End_log_pos Info +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # drop database if exists mysqltest1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # create database mysqltest1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; create table t1 (a varchar(100)) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() +begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8)) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (unix_timestamp()) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo2`() +select * from mysqltest1.t1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; alter procedure foo2 contains sql +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; DROP TABLE `t1` /* generated by server */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; create table t1 (a int) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; create table t2 like t1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo3`() + DETERMINISTIC +insert into t1 values (15) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` PROCEDURE `foo4`() + DETERMINISTIC +begin +insert into t2 values(3); +insert into t1 values (5); +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (15) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; alter procedure foo4 sql security invoker +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(3) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (5) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t2 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; alter table t2 add unique (a) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo4 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo4`() + DETERMINISTIC +begin +insert into t2 values(20),(20); +end +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo4 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo2 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo3 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11) + DETERMINISTIC +begin +insert into t1 values (x); +return x+2; +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete t1,t2 from t1,t2 +master-bin.000001 # Query # # COMMIT +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; SELECT `mysqltest1`.`fn1`(20) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t2 values(fn1(21)) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop function fn1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`() RETURNS int(11) + NO SQL +begin +return unix_timestamp(); +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values(fn1()) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` FUNCTION `fn2`() RETURNS int(11) + NO SQL +begin +return unix_timestamp(); +end +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS int(11) + READS SQL DATA +begin +return 0; +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t2 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; alter table t2 add unique (a) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop function fn1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11) +begin +insert into t2 values(x),(x); +return 10; +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10 +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (1) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; delete from t1 +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop trigger trg +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values (1) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() + READS SQL DATA +select * from t1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop procedure foo +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest1`; drop function fn1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # drop database mysqltest1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # drop user "zedjzlcsjhd"@127.0.0.1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; drop function if exists f1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) + READS SQL DATA +begin +declare var integer; +declare c cursor for select a from v1; +open c; +fetch c into var; +close c; +return var; +end +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 1 as a +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; create table t1 (a int) +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `test`; insert into t1 (a) values (f1()) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; drop view v1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; drop function f1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP PROCEDURE IF EXISTS p1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE TABLE t1(col VARCHAR(10)) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10)) +INSERT INTO t1 VALUES(arg) +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci')) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP PROCEDURE p1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP PROCEDURE IF EXISTS p1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP FUNCTION IF EXISTS f1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`() +SET @a = 1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +RETURN 0 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP PROCEDURE p1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP FUNCTION f1 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # drop database if exists mysqltest +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # drop database if exists mysqltest2 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # create database mysqltest +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # create database mysqltest2 +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest2`; create table t ( t integer ) +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest2`; CREATE DEFINER=`root`@`localhost` PROCEDURE `mysqltest`.`test`() +begin end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest2`; insert into t values ( 1 ) +master-bin.000001 # Xid # # COMMIT /* XID */ +master-bin.000001 # Gtid # # GTID #-#-# +master-bin.000001 # Query # # use `mysqltest2`; CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +begin +insert into t values (1); +return 0; +end +master-bin.000001 # Gtid # # BEGIN GTID #-#-# +master-bin.000001 # Query # # use `mysqltest`; SELECT `mysqltest2`.`f1`() +master-bin.000001 # Xid # # COMMIT /* XID */ +connection slave; +set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators; +connection master; +set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators; +drop database mysqltest; +drop database mysqltest2; +connection slave; +connection master; +use test; +/*!50001 create procedure `mysqltestbug36570_p1`() */ +begin +select 1; +end| +use mysql| +create procedure test.` mysqltestbug36570_p2`(/*!50001 a int*/)`label`: +begin +select a; +end| +/*!50001 create function test.mysqltestbug36570_f1() */ +returns int +/*!50001 deterministic */ +begin +return 3; +end| +use test| +show procedure status like '%mysqltestbug36570%'; +Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation +test mysqltestbug36570_p2 PROCEDURE root@localhost t t DEFINER latin1 latin1_swedish_ci latin1_swedish_ci +test mysqltestbug36570_p1 PROCEDURE root@localhost t t DEFINER latin1 latin1_swedish_ci latin1_swedish_ci +show create procedure ` mysqltestbug36570_p2`; +Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation + mysqltestbug36570_p2 CREATE DEFINER=`root`@`localhost` PROCEDURE ` mysqltestbug36570_p2`( a int) +`label`: +begin +select a; +end latin1 latin1_swedish_ci latin1_swedish_ci +connection slave; +connection slave; +show procedure status like '%mysqltestbug36570%'; +Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation +test mysqltestbug36570_p2 PROCEDURE root@localhost t t DEFINER latin1 latin1_swedish_ci latin1_swedish_ci +test mysqltestbug36570_p1 PROCEDURE root@localhost t t DEFINER latin1 latin1_swedish_ci latin1_swedish_ci +show create procedure ` mysqltestbug36570_p2`; +Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation + mysqltestbug36570_p2 CREATE DEFINER=`root`@`localhost` PROCEDURE ` mysqltestbug36570_p2`( a int) +`label`: +begin +select a; +end latin1 latin1_swedish_ci latin1_swedish_ci +call ` mysqltestbug36570_p2`(42); +a +42 +show function status like '%mysqltestbug36570%'; +Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation +test mysqltestbug36570_f1 FUNCTION root@localhost t t DEFINER latin1 latin1_swedish_ci latin1_swedish_ci +connection master; +flush logs; +/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/; +/*!40019 SET @@session.max_delayed_threads=0*/; +/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; +DELIMITER /*!*/; +ROLLBACK/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.pseudo_thread_id=999999999/*!*/; +SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1, @@session.check_constraint_checks=1, @@session.sql_if_exists=0, @@session.explicit_defaults_for_timestamp=1, @@session.system_versioning_insert_history=0/*!*/; +SET @@session.sql_mode=0/*!*/; +SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/; +/*!\C latin1 *//*!*/; +SET @@session.character_set_client=latin1,@@session.collation_connection=8,@@session.collation_server=8/*!*/; +SET @@session.lc_time_names=0/*!*/; +SET @@session.collation_database=DEFAULT/*!*/; +drop database if exists mysqltest1 +/*!*/; +SET TIMESTAMP=t/*!*/; +create database mysqltest1 +/*!*/; +use `mysqltest1`/*!*/; +SET TIMESTAMP=t/*!*/; +create table t1 (a varchar(100)) +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() +begin +declare b int; +set b = 8; +insert into t1 values (b); +insert into t1 values (unix_timestamp()); +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values ( NAME_CONST('b',8)) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values (unix_timestamp()) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete from t1 +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `foo2`() +select * from mysqltest1.t1 +/*!*/; +SET TIMESTAMP=t/*!*/; +alter procedure foo2 contains sql +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP TABLE `t1` /* generated by server */ +/*!*/; +SET TIMESTAMP=t/*!*/; +create table t1 (a int) +/*!*/; +SET TIMESTAMP=t/*!*/; +create table t2 like t1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `foo3`() + DETERMINISTIC +insert into t1 values (15) +/*!*/; +SET TIMESTAMP=t/*!*/; +grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1 +/*!*/; +SET TIMESTAMP=t/*!*/; +grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1 +/*!*/; +SET TIMESTAMP=t/*!*/; +grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1 +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=1411383296/*!*/; +CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` PROCEDURE `foo4`() + DETERMINISTIC +begin +insert into t2 values(3); +insert into t1 values (5); +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t2 values(3) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=0/*!*/; +insert into t1 values (15) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=1411383296/*!*/; +insert into t2 values(3) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=0/*!*/; +alter procedure foo4 sql security invoker +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=1411383296/*!*/; +insert into t2 values(3) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values (5) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=0/*!*/; +delete from t2 +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +alter table t2 add unique (a) +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo4 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `foo4`() + DETERMINISTIC +begin +insert into t2 values(20),(20); +end +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo4 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo2 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo3 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11) + DETERMINISTIC +begin +insert into t1 values (x); +return x+2; +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete t1,t2 from t1,t2 +/*!*/; +SET TIMESTAMP=t/*!*/; +COMMIT +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +SELECT `mysqltest1`.`fn1`(20) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t2 values(fn1(21)) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +drop function fn1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`() RETURNS int(11) + NO SQL +begin +return unix_timestamp(); +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete from t1 +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values(fn1()) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=1411383296/*!*/; +CREATE DEFINER=`zedjzlcsjhd`@`127.0.0.1` FUNCTION `fn2`() RETURNS int(11) + NO SQL +begin +return unix_timestamp(); +end +/*!*/; +SET TIMESTAMP=t/*!*/; +SET @@session.sql_mode=0/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS int(11) + READS SQL DATA +begin +return 0; +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete from t2 +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +alter table t2 add unique (a) +/*!*/; +SET TIMESTAMP=t/*!*/; +drop function fn1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11) +begin +insert into t2 values(x),(x); +return 10; +end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete from t1 +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10 +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values (1) +/*!*/; +COMMIT/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +delete from t1 +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +drop trigger trg +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 values (1) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `foo`() + READS SQL DATA +select * from t1 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop procedure foo +/*!*/; +SET TIMESTAMP=t/*!*/; +drop function fn1 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop database mysqltest1 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop user "zedjzlcsjhd"@127.0.0.1 +/*!*/; +use `test`/*!*/; +SET TIMESTAMP=t/*!*/; +drop function if exists f1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) + READS SQL DATA +begin +declare var integer; +declare c cursor for select a from v1; +open c; +fetch c into var; +close c; +return var; +end +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 1 as a +/*!*/; +SET TIMESTAMP=t/*!*/; +create table t1 (a int) +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t1 (a) values (f1()) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +drop view v1 +/*!*/; +SET TIMESTAMP=t/*!*/; +drop function f1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP PROCEDURE IF EXISTS p1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP TABLE IF EXISTS `t1` /* generated by server */ +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE TABLE t1(col VARCHAR(10)) +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10)) +INSERT INTO t1 VALUES(arg) +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci')) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +DROP PROCEDURE p1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP PROCEDURE IF EXISTS p1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP FUNCTION IF EXISTS f1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`() +SET @a = 1 +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +RETURN 0 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP PROCEDURE p1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP FUNCTION f1 +/*!*/; +SET TIMESTAMP=t/*!*/; +DROP TABLE `t1` /* generated by server */ +/*!*/; +SET TIMESTAMP=t/*!*/; +drop database if exists mysqltest +/*!*/; +SET TIMESTAMP=t/*!*/; +drop database if exists mysqltest2 +/*!*/; +SET TIMESTAMP=t/*!*/; +create database mysqltest +/*!*/; +SET TIMESTAMP=t/*!*/; +create database mysqltest2 +/*!*/; +use `mysqltest2`/*!*/; +SET TIMESTAMP=t/*!*/; +create table t ( t integer ) +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `mysqltest`.`test`() +begin end +/*!*/; +START TRANSACTION +/*!*/; +SET TIMESTAMP=t/*!*/; +insert into t values ( 1 ) +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +begin +insert into t values (1); +return 0; +end +/*!*/; +START TRANSACTION +/*!*/; +use `mysqltest`/*!*/; +SET TIMESTAMP=t/*!*/; +SELECT `mysqltest2`.`f1`() +/*!*/; +COMMIT/*!*/; +SET TIMESTAMP=t/*!*/; +drop database mysqltest +/*!*/; +SET TIMESTAMP=t/*!*/; +drop database mysqltest2 +/*!*/; +use `test`/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `mysqltestbug36570_p1`() +begin +select 1; +end +/*!*/; +use `mysql`/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` PROCEDURE `test`.` mysqltestbug36570_p2`( a int) +`label`: +begin +select a; +end +/*!*/; +SET TIMESTAMP=t/*!*/; +CREATE DEFINER=`root`@`localhost` FUNCTION `test`.`mysqltestbug36570_f1`() RETURNS int(11) + DETERMINISTIC +begin +return 3; +end +/*!*/; +DELIMITER ; +# End of log file +ROLLBACK /* added by mysqlbinlog */; +/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/; +/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/; +use test; +drop procedure mysqltestbug36570_p1; +drop procedure ` mysqltestbug36570_p2`; +drop function mysqltestbug36570_f1; +End of 5.0 tests +# End of 5.1 tests +# +# Test Bug#30977 Concurrent statement using stored +# function and DROP FUNCTION breaks SBR. +# +# Demonstrate that stored function DDL can not go through, +# or, worse yet, make its way into the binary log, while +# the stored function is in use. +# For that, try to insert a result of a stored function +# into a table. Block the insert in the beginning, waiting +# on a table lock. While insert is blocked, attempt to +# drop the routine. Verify that this attempt +# blocks and waits for INSERT to complete. Commit and +# reap the chain of events. Master and slave must contain +# identical data. Statements in the binrary log must be +# consistent with data in the table. +# +connection default; +drop table if exists t1, t2; +drop function if exists t1; +create table t1 (a int); +create table t2 (a int) as select 1 as a; +create function f1() returns int deterministic return (select max(a) from t2); +lock table t2 write; +connection master; +# Sending 'insert into t1 (a) values (f1())'... +insert into t1 (a) values (f1()); +connection master1; +# Waitng for 'insert into t1 ...' to get blocked on table lock... +# Sending 'drop function f1'. It will wait till insert finishes. +drop function f1;; +connection default; +# Check that 'drop function f1' gets blocked. +# Now let's let 'insert' go through... +unlock tables; +connection master; +# Reaping 'insert into t1 (a) values (f1())'... +connection master1; +# Reaping 'drop function f1' +connection master; +select * from t1; +a +1 +connection slave; +connection slave; +select * from t1; +a +1 +connection master; +drop table t1, t2; +drop function f1; +ERROR 42000: FUNCTION test.f1 does not exist +# +# Bug #11918 Can't use a declared variable in LIMIT clause +# +include/rpl_reset.inc +create table t1 (c1 int); +insert into t1 (c1) values +(1), (2), (3), (4), (5), (6), (7), (8), (9), (10); +call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"); +create procedure p1(p1 integer) +delete from t1 limit p1; +set @save_binlog_format=@@session.binlog_format; +set @@session.binlog_format=STATEMENT; +call p1(NULL); +call p1(0); +call p1(1); +call p1(2); +call p1(3); +select * from t1; +c1 +7 +8 +9 +10 +connection slave; +connection slave; +select * from t1; +c1 +7 +8 +9 +10 +connection master; +call p1(-1); +select * from t1; +c1 +connection slave; +connection slave; +select * from t1; +c1 +connection master; +# Cleanup +set @@session.binlog_format=@save_binlog_format; +drop table t1; +drop procedure p1; +# End of 5.5 tests. +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_sp004.result b/mysql-test/suite/engines/funcs/r/rpl_sp004.result new file mode 100644 index 00000000..72f0428c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_sp004.result @@ -0,0 +1,98 @@ +include/master-slave.inc +[connection master] +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t3; +CREATE PROCEDURE test.p1() +BEGIN +CREATE TABLE IF NOT EXISTS test.t1(a INT,PRIMARY KEY(a)); +CREATE TABLE IF NOT EXISTS test.t2(a INT,PRIMARY KEY(a)); +INSERT INTO test.t1 VALUES (4),(2),(1),(3); +UPDATE test.t1 SET a=a+4 WHERE a=4; +INSERT INTO test.t2 (a) SELECT t1.a FROM test.t1; +UPDATE test.t1 SET a=a+4 WHERE a=8; +CREATE TABLE IF NOT EXISTS test.t3(n MEDIUMINT NOT NULL AUTO_INCREMENT, f FLOAT, d DATETIME, PRIMARY KEY(n)); +END| +CREATE PROCEDURE test.p2() +BEGIN +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +INSERT INTO test.t3 VALUES(NULL,11111111.233333,NOW()); +END| +CALL test.p1(); +SELECT * FROM test.t1 ORDER BY a; +a +1 +2 +3 +12 +SELECT * FROM test.t2 ORDER BY a; +a +1 +2 +3 +8 +connection slave; +SELECT * FROM test.t1 ORDER BY a; +a +1 +2 +3 +12 +SELECT * FROM test.t2 ORDER BY a; +a +1 +2 +3 +8 +connection master; +CALL test.p2(); +USE test; +SHOW TABLES; +Tables_in_test +t3 +connection slave; +USE test; +SHOW TABLES; +Tables_in_test +t3 +connection master; +CALL test.p1(); +Warnings: +Note 1050 Table 't3' already exists +SELECT * FROM test.t1 ORDER BY a; +a +1 +2 +3 +12 +SELECT * FROM test.t2 ORDER BY a; +a +1 +2 +3 +8 +connection slave; +SELECT * FROM test.t1 ORDER BY a; +a +1 +2 +3 +12 +SELECT * FROM test.t2 ORDER BY a; +a +1 +2 +3 +8 +connection master; +DROP PROCEDURE IF EXISTS test.p1; +DROP PROCEDURE IF EXISTS test.p2; +DROP TABLE IF EXISTS test.t1; +DROP TABLE IF EXISTS test.t2; +DROP TABLE IF EXISTS test.t3; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_sp_effects.result b/mysql-test/suite/engines/funcs/r/rpl_sp_effects.result new file mode 100644 index 00000000..d6890f22 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_sp_effects.result @@ -0,0 +1,321 @@ +include/master-slave.inc +[connection master] +connection master; +SET @old_log_bin_trust_function_creators= @@global.log_bin_trust_function_creators; +drop procedure if exists p1; +drop procedure if exists p2; +drop function if exists f1; +drop table if exists t1,t2; +drop view if exists v1; +create table t1 (a int); +SET GLOBAL log_bin_trust_function_creators = 1; +create procedure p1() +begin +declare spv int default 0; +while spv < 5 do +insert into t1 values(spv+1); +set spv=spv+1; +end while; +end// +call p1(); +connection slave; +connection slave; +SELECT * FROM t1 ORDER BY a; +a +1 +2 +3 +4 +5 +connection master; +SELECT * FROM t1 ORDER BY a; +a +1 +2 +3 +4 +5 +create procedure p2() +begin +declare a int default 4; +create table t2 as select a; +end// +call p2(); +SELECT * FROM t2 ORDER BY a; +a +4 +connection slave; +connection slave; +SELECT * FROM t2 ORDER BY a; +a +4 +connection master; +drop procedure p1; +drop procedure p2; +drop table t2; +create function f1(x int) returns int +begin +insert into t1 values(x); +return x+1; +end// +create procedure p1(a int, b int) +begin +declare v int default f1(5); +if (f1(6)) then +select 'yes'; +end if; +set v = f1(7); +while f1(8) < 1 do +select 'this cant be'; +end while; +end// +call p1(f1(1), f1(2)); +yes +yes +SELECT * FROM t1 ORDER BY a; +a +1 +1 +2 +2 +3 +4 +5 +5 +6 +7 +8 +create table t2(a int); +insert into t2 values (10),(11); +SELECT a,f1(a) FROM t2 ORDER BY a; +a f1(a) +10 11 +11 12 +insert into t2 select f1(3); +SELECT 'master:',a FROM t1 ORDER BY a; +master: a +master: 1 +master: 1 +master: 2 +master: 2 +master: 3 +master: 3 +master: 4 +master: 5 +master: 5 +master: 6 +master: 7 +master: 8 +master: 10 +master: 11 +connection slave; +connection slave; +SELECT 'slave:',a FROM t1 ORDER BY a; +slave: a +slave: 1 +slave: 1 +slave: 2 +slave: 2 +slave: 3 +slave: 3 +slave: 4 +slave: 5 +slave: 5 +slave: 6 +slave: 7 +slave: 8 +slave: 10 +slave: 11 +connection master; +drop procedure p1; +delete from t1; +delete from t2; +delete from t1; +insert into t2 values(1),(2); +create view v1 as select f1(a) as f from t2; +select * from v1 order by f; +f +2 +3 +SELECT 'master:',a FROM t1 ORDER BY a; +master: a +master: 1 +master: 2 +connection slave; +connection slave; +SELECT 'slave:',a FROM t1 ORDER BY a; +slave: a +slave: 1 +slave: 2 +connection master; +drop view v1; +delete from t1; +prepare s1 from 'select f1(?)'; +set @xx=123; +execute s1 using @xx; +f1(?) +124 +SELECT 'master:',a FROM t1 ORDER BY a; +master: a +master: 123 +connection slave; +connection slave; +SELECT 'slave:',a FROM t1 ORDER BY a; +slave: a +slave: 123 +connection master; +delete from t1; +create procedure p1(spv int) +begin +declare c cursor for select f1(spv) from t2; +while (spv > 2) do +open c; +fetch c into spv; +close c; +set spv= spv - 10; +end while; +end// +call p1(15); +SELECT 'master:',a FROM t1 ORDER BY a; +master: a +master: 6 +master: 6 +master: 15 +master: 15 +connection slave; +connection slave; +SELECT 'slave:',a FROM t1 ORDER BY a; +slave: a +slave: 6 +slave: 6 +slave: 15 +slave: 15 +connection master; +drop procedure p1; +drop function f1; +drop table t1,t2; +create table t1 (a int); +create procedure p1() +begin +insert into t1 values(@x); +set @x=@x+1; +insert into t1 values(@x); +if (f2()) then +insert into t1 values(1243); +end if; +end// +create function f2() returns int +begin +insert into t1 values(@z); +set @z=@z+1; +insert into t1 values(@z); +return 0; +end// +create function f1() returns int +begin +insert into t1 values(@y); +call p1(); +return 0; +end// +set @x=10; +set @y=20; +set @z=100; +select f1(); +f1() +0 +set @x=30; +call p1(); +SELECT 'master', a FROM t1 ORDER BY a; +master a +master 10 +master 11 +master 20 +master 30 +master 31 +master 100 +master 101 +master 101 +master 102 +connection slave; +connection slave; +SELECT 'slave', a FROM t1 ORDER BY a; +slave a +slave 10 +slave 11 +slave 20 +slave 30 +slave 31 +slave 100 +slave 101 +slave 101 +slave 102 +connection master; +drop table t1; +drop function f1; +drop function f2; +drop procedure p1; +connection slave; +connection master; +create table t2 (b BIT(7)); +create procedure sp_bug26199(bitvalue BIT(7)) +begin +insert into t2 set b = bitvalue; +end // +create function sf_bug26199(b BIT(7)) returns int +begin +insert into t2 values(b); +return 0; +end// +call sp_bug26199(b'1110'); +call sp_bug26199('\0'); +select sf_bug26199(b'1111111'); +sf_bug26199(b'1111111') +0 +SET STATEMENT sql_mode = '' FOR +select sf_bug26199(b'101111111'); +sf_bug26199(b'101111111') +0 +Warnings: +Warning 1264 Out of range value for column 'b' at row 1 +select sf_bug26199('\''); +sf_bug26199('\'') +0 +select hex(b) from t2; +hex(b) +E +0 +7F +7F +27 +connection slave; +select hex(b) from t2; +hex(b) +E +0 +7F +7F +27 +connection master; +drop table t2; +drop procedure sp_bug26199; +drop function sf_bug26199; +SET @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators; +connection slave; +set names utf8; +CREATE FUNCTION f() RETURNS timestamp DETERMINISTIC +BEGIN RETURN '2012-12-21 12:12:12'; END | +CREATE PROCEDURE p(t timestamp) +BEGIN +SET @t = t; +PREPARE stmt FROM " + UPDATE t1 SET a = @t WHERE '2012-12-31 08:00:00' < f() "; +EXECUTE stmt; +DEALLOCATE PREPARE stmt; +END | +create table t1 (a timestamp); +call p('2012-12-31 08:00:00'); +drop table t1; +drop procedure p; +drop function f; +end of the tests +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_start_stop_slave.result b/mysql-test/suite/engines/funcs/r/rpl_start_stop_slave.result new file mode 100644 index 00000000..48c5e548 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_start_stop_slave.result @@ -0,0 +1,17 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +connection master; +create table t1(n int); +connection slave; +include/start_slave.inc +include/stop_slave_io.inc +start slave io_thread; +include/wait_for_slave_io_to_start.inc +connection master; +connection slave; +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_stm_max_relay_size.result b/mysql-test/suite/engines/funcs/r/rpl_stm_max_relay_size.result new file mode 100644 index 00000000..41d18d7f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_stm_max_relay_size.result @@ -0,0 +1,83 @@ +include/master-slave.inc +[connection master] +connection slave; +stop slave; +connection master; +# +# Generate a big enough master's binlog to cause relay log rotations +# +create table t1 (a int); +drop table t1; +connection slave; +reset slave; +# +# Test 1 +# +set @my_max_binlog_size= @@global.max_binlog_size, @my_max_relay_log_size=@@global.max_relay_log_size; +set global max_binlog_size=8192; +set global max_relay_log_size=8192-1; +Warnings: +Warning 1292 Truncated incorrect max_relay_log_size value: '8191' +select @@global.max_relay_log_size; +@@global.max_relay_log_size +4096 +start slave; +include/check_slave_is_running.inc +# +# Test 2 +# +stop slave; +reset slave; +set global max_relay_log_size=(5*4096); +select @@global.max_relay_log_size; +@@global.max_relay_log_size 20480 +start slave; +include/check_slave_is_running.inc +# +# Test 3: max_relay_log_size = 0 +# +stop slave; +reset slave; +set global max_relay_log_size=0; +Warnings: +Warning 1292 Truncated incorrect max_relay_log_size value: '0' +select @@global.max_relay_log_size; +@@global.max_relay_log_size 4096 +start slave; +include/check_slave_is_running.inc +# +# Test 4: Tests below are mainly to ensure that we have not coded with wrong assumptions +# +stop slave; +reset slave; +flush logs; +# +# Test 5 +# +reset slave; +start slave; +flush logs; +connection master; +create table t1 (a int); +connection slave; +include/check_slave_is_running.inc +# +# Test 6: one more rotation, to be sure Relay_Log_Space is correctly updated +# +flush logs; +connection master; +drop table t1; +connection slave; +include/check_slave_is_running.inc +connection master; +flush logs; +show master status; +File Position Binlog_Do_DB Binlog_Ignore_DB +master-bin.000002 # +connection slave; +set global max_binlog_size= @my_max_binlog_size; +set global max_relay_log_size= @my_max_relay_log_size; +# +# End of 4.1 tests +# +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_stm_mystery22.result b/mysql-test/suite/engines/funcs/r/rpl_stm_mystery22.result new file mode 100644 index 00000000..0d99235e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_stm_mystery22.result @@ -0,0 +1,35 @@ +include/master-slave.inc +[connection master] +create table t1(n int auto_increment primary key, s char(10)); +connection slave; +insert into t1 values (2,'old'); +connection master; +insert into t1 values(NULL,'new'); +insert into t1 values(NULL,'new'); +connection slave; +select * from t1 order by n; +n s +1 new +2 old +delete from t1 where n = 2; +include/start_slave.inc +include/stop_slave.inc +connection master; +create table t2(n int); +drop table t2; +insert into t1 values(NULL,'new'); +set sql_log_bin=0; +insert into t1 values(NULL,'new'); +set sql_log_bin=1; +delete from t1 where n=4; +connection slave; +include/start_slave.inc +select * from t1 order by n; +n s +1 new +2 new +3 new +connection master; +drop table t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_stm_no_op.result b/mysql-test/suite/engines/funcs/r/rpl_stm_no_op.result new file mode 100644 index 00000000..2505660f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_stm_no_op.result @@ -0,0 +1,71 @@ +include/master-slave.inc +[connection master] +connection slave; +create database mysqltest; +connection master; +drop database if exists mysqltest; +Warnings: +Note 1008 Can't drop database 'mysqltest'; database doesn't exist +connection slave; +show tables from mysqltest; +ERROR 42000: Unknown database 'mysqltest' +connection slave; +create table t1 (a int); +connection master; +drop table if exists t1; +Warnings: +Note 1051 Unknown table 'test.t1' +connection slave; +select * from t1; +ERROR 42S02: Table 'test.t1' doesn't exist +connection master; +create table t1 (a int, b int); +connection slave; +insert into t1 values(1,1); +connection master; +delete from t1; +connection slave; +select * from t1; +a b +insert into t1 values(1,1); +connection master; +insert into t1 values(2,1); +update t1 set a=2; +connection slave; +select * from t1; +a b +2 1 +2 1 +connection master; +create table t2 (a int, b int); +delete from t1; +insert into t1 values(1,1); +insert into t2 values(1,1); +connection slave; +update t1 set a=2; +connection master; +UPDATE t1, t2 SET t1.a = t2.a; +connection slave; +select * from t1; +a b +1 1 +select * from t2; +a b +1 1 +connection master; +delete from t1; +delete from t2; +connection slave; +insert into t1 values(1,1); +insert into t2 values(1,1); +connection master; +DELETE t1.*, t2.* from t1, t2; +connection slave; +select * from t1; +a b +select * from t2; +a b +connection master; +drop table t1, t2; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_stm_reset_slave.result b/mysql-test/suite/engines/funcs/r/rpl_stm_reset_slave.result new file mode 100644 index 00000000..0a365b30 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_stm_reset_slave.result @@ -0,0 +1,59 @@ +include/master-slave.inc +[connection master] +connection slave; +Master_User = 'root' +Master_Host = '127.0.0.1' +include/stop_slave.inc +change master to master_user='test'; +Master_User = 'test' +Master_Host = '127.0.0.1' +include/reset_slave.inc +Master_User = 'test' +Master_Host = '127.0.0.1' +change master to master_user='root'; +include/start_slave.inc +Master_User = 'root' +Master_Host = '127.0.0.1' +include/stop_slave.inc +include/reset_slave.inc +include/start_slave.inc +connection master; +create temporary table t1 (a int); +connection slave; +include/stop_slave.inc +include/reset_slave.inc +include/start_slave.inc +show status like 'slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 1 +connection master; +drop temporary table if exists t1; +connection slave; +include/stop_slave.inc +include/reset_slave.inc +include/check_slave_no_error.inc +change master to master_user='impossible_user_name'; +start slave; +include/wait_for_slave_io_error.inc [errno=1045] +include/stop_slave_sql.inc +change master to master_user='root'; +include/start_slave.inc +include/check_slave_no_error.inc +stop slave; +change master to master_user='impossible_user_name'; +start slave; +include/wait_for_slave_io_error.inc [errno=1045] +include/stop_slave_sql.inc +include/reset_slave.inc +include/check_slave_no_error.inc +change master to master_user='root'; +include/reset_slave.inc +include/start_slave.inc +include/stop_slave.inc +reset slave all; +set @@global.gtid_slave_pos= ""; +start slave; +ERROR HY000: Misconfigured slave: MASTER_HOST was not set; Fix in config file or with CHANGE MASTER TO +CHANGE MASTER TO MASTER_HOST= 'MASTER_HOST', MASTER_USER= 'MASTER_USER', MASTER_PORT= MASTER_PORT; +include/start_slave.inc +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_switch_stm_row_mixed.result b/mysql-test/suite/engines/funcs/r/rpl_switch_stm_row_mixed.result new file mode 100644 index 00000000..71332034 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_switch_stm_row_mixed.result @@ -0,0 +1,460 @@ +include/master-slave.inc +[connection master] +connection slave; +connection master; +drop database if exists mysqltest1; +create database mysqltest1; +use mysqltest1; +set @my_binlog_format= @@global.binlog_format; +set session binlog_format=mixed; +show session variables like "binlog_format%"; +Variable_name Value +binlog_format MIXED +set session binlog_format=statement; +show session variables like "binlog_format%"; +Variable_name Value +binlog_format STATEMENT +set session binlog_format=row; +show session variables like "binlog_format%"; +Variable_name Value +binlog_format ROW +set global binlog_format=DEFAULT; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format MIXED +set global binlog_format=MIXED; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format MIXED +set global binlog_format=STATEMENT; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format STATEMENT +set global binlog_format=ROW; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format ROW +show session variables like "binlog_format%"; +Variable_name Value +binlog_format ROW +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +ROW ROW +CREATE TABLE t1 (a varchar(100)); +prepare stmt1 from 'insert into t1 select concat(SYS_GUID(),?)'; +set @string="emergency_1_"; +insert into t1 values("work_2_"); +execute stmt1 using @string; +deallocate prepare stmt1; +prepare stmt1 from 'insert into t1 select ?'; +insert into t1 values(concat(SYS_GUID(),"work_3_")); +execute stmt1 using @string; +deallocate prepare stmt1; +insert into t1 values(concat("for_4_",SYS_GUID())); +insert into t1 select "yesterday_5_"; +create temporary table tmp(a char(100)); +insert into tmp values("see_6_"); +set binlog_format=statement; +ERROR HY000: Cannot switch out of the row-based binary log format when the session has open temporary tables +insert into t1 select * from tmp; +drop temporary table tmp; +set binlog_format=statement; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format ROW +show session variables like "binlog_format%"; +Variable_name Value +binlog_format STATEMENT +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +ROW STATEMENT +set global binlog_format=statement; +show global variables like "binlog_format%"; +Variable_name Value +binlog_format STATEMENT +show session variables like "binlog_format%"; +Variable_name Value +binlog_format STATEMENT +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +STATEMENT STATEMENT +prepare stmt1 from 'insert into t1 select ?'; +set @string="emergency_7_"; +insert into t1 values("work_8_"); +execute stmt1 using @string; +deallocate prepare stmt1; +prepare stmt1 from 'insert into t1 select ?'; +insert into t1 values("work_9_"); +execute stmt1 using @string; +deallocate prepare stmt1; +insert into t1 values("for_10_"); +insert into t1 select "yesterday_11_"; +set binlog_format=statement; +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +STATEMENT STATEMENT +set global binlog_format=statement; +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +STATEMENT STATEMENT +prepare stmt1 from 'insert into t1 select ?'; +set @string="emergency_12_"; +insert into t1 values("work_13_"); +execute stmt1 using @string; +deallocate prepare stmt1; +prepare stmt1 from 'insert into t1 select ?'; +insert into t1 values("work_14_"); +execute stmt1 using @string; +deallocate prepare stmt1; +insert into t1 values("for_15_"); +insert into t1 select "yesterday_16_"; +set global binlog_format=mixed; +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +MIXED STATEMENT +set binlog_format=default; +select @@global.binlog_format, @@session.binlog_format; +@@global.binlog_format @@session.binlog_format +MIXED MIXED +prepare stmt1 from 'insert into t1 select concat(SYS_GUID(),?)'; +set @string="emergency_17_"; +insert into t1 values("work_18_"); +execute stmt1 using @string; +deallocate prepare stmt1; +prepare stmt1 from 'insert into t1 select ?'; +insert into t1 values(concat(SYS_GUID(),"work_19_")); +execute stmt1 using @string; +deallocate prepare stmt1; +insert into t1 values(concat("for_20_",SYS_GUID())); +insert into t1 select "yesterday_21_"; +prepare stmt1 from 'insert into t1 select ?'; +insert into t1 values(concat(SYS_GUID(),"work_22_")); +execute stmt1 using @string; +deallocate prepare stmt1; +insert into t1 values(concat("for_23_",SYS_GUID())); +insert into t1 select "yesterday_24_"; +create table t2 ENGINE=MyISAM select rpad(SYS_GUID(),100,' '); +create table t3 select 1 union select SYS_GUID(); +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +create table t4 select * from t1 where 3 in (select 1 union select 2 union select SYS_GUID() union select 3); +SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR +create table t5 select * from t1 where 3 in (select 1 union select 2 union select curdate() union select 3); +Warnings: +Warning 1292 Truncated incorrect datetime value: '3' +insert ignore into t5 select SYS_GUID() from t1 where 3 in (select 1 union select 2 union select 3 union select * from t4); +create procedure foo() +begin +insert into t1 values("work_25_"); +insert into t1 values(concat("for_26_",SYS_GUID())); +insert into t1 select "yesterday_27_"; +end| +create procedure foo2() +begin +insert into t1 values(concat("emergency_28_",SYS_GUID())); +insert into t1 values("work_29_"); +insert into t1 values(concat("for_30_",SYS_GUID())); +set session binlog_format=row; # accepted for stored procs +insert into t1 values("more work_31_"); +set session binlog_format=mixed; +end| +create function foo3() returns bigint unsigned +begin +set session binlog_format=row; # rejected for stored funcs +insert into t1 values("alarm"); +return 100; +end| +create procedure foo4(x varchar(100)) +begin +insert into t1 values(concat("work_250_",x)); +insert into t1 select "yesterday_270_"; +end| +call foo(); +call foo2(); +call foo4("hello"); +call foo4(SYS_GUID()); +call foo4("world"); +select foo3(); +ERROR HY000: Cannot change the binary logging format inside a stored function or trigger +select * from t1 where a="alarm"; +a +drop function foo3; +create function foo3() returns bigint unsigned +begin +insert into t1 values("foo3_32_"); +call foo(); +return 100; +end| +insert into t2 select foo3(); +prepare stmt1 from 'insert into t2 select foo3()'; +execute stmt1; +execute stmt1; +deallocate prepare stmt1; +create function foo4() returns bigint unsigned +begin +insert into t2 select foo3(); +return 100; +end| +select foo4(); +foo4() +100 +prepare stmt1 from 'select foo4()'; +execute stmt1; +foo4() +100 +execute stmt1; +foo4() +100 +deallocate prepare stmt1; +create function foo5() returns bigint unsigned +begin +insert into t2 select SYS_GUID(); +return 100; +end| +select foo5(); +foo5() +100 +prepare stmt1 from 'select foo5()'; +execute stmt1; +foo5() +100 +execute stmt1; +foo5() +100 +deallocate prepare stmt1; +create function foo6(x varchar(100)) returns bigint unsigned +begin +insert into t2 select x; +return 100; +end| +select foo6("foo6_1_"); +foo6("foo6_1_") +100 +select foo6(concat("foo6_2_",SYS_GUID())); +foo6(concat("foo6_2_",SYS_GUID())) +100 +prepare stmt1 from 'select foo6(concat("foo6_3_",SYS_GUID()))'; +execute stmt1; +foo6(concat("foo6_3_",SYS_GUID())) +100 +execute stmt1; +foo6(concat("foo6_3_",SYS_GUID())) +100 +deallocate prepare stmt1; +create view v1 as select SYS_GUID(); +create table t11 (data varchar(255)); +insert into t11 select * from v1; +insert into t11 select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='mysqltest1' and TABLE_NAME IN ('v1','t11'); +prepare stmt1 from "insert into t11 select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='mysqltest1' and TABLE_NAME IN ('v1','t11')"; +execute stmt1; +execute stmt1; +deallocate prepare stmt1; +create trigger t11_bi before insert on t11 for each row +begin +set NEW.data = concat(NEW.data,SYS_GUID()); +end| +insert into t11 values("try_560_"); +insert delayed into t2 values("delay_1_"); +insert delayed into t2 values(concat("delay_2_",SYS_GUID())); +insert delayed into t2 values("delay_6_"); +insert delayed into t2 values(rand()); +set @a=2.345; +insert delayed into t2 values(@a); +connection slave; +connection master; +create table t20 select * from t1; +create table t21 select * from t2; +create table t22 select * from t3; +drop table t1,t2,t3; +create table t1 (a int primary key auto_increment, b varchar(100)); +create table t2 (a int primary key auto_increment, b varchar(100)); +create table t3 (b varchar(100)); +create function f (x varchar(100)) returns int deterministic +begin +insert into t1 values(null,x); +insert into t2 values(null,x); +return 1; +end| +select f("try_41_"); +f("try_41_") +1 +connection slave; +use mysqltest1; +insert into t2 values(2,null),(3,null),(4,null); +delete from t2 where a>=2; +connection master; +select f("try_42_"); +f("try_42_") +1 +connection slave; +insert into t2 values(3,null),(4,null); +delete from t2 where a>=3; +connection master; +prepare stmt1 from 'select f(?)'; +set @string="try_43_"; +insert into t1 values(null,"try_44_"); +execute stmt1 using @string; +f(?) +1 +deallocate prepare stmt1; +connection slave; +connection master; +create table t12 select * from t1; +drop table t1; +create table t1 (a int, b varchar(100), key(a)); +select f("try_45_"); +f("try_45_") +1 +create table t13 select * from t1; +drop table t1; +create table t1 (a int primary key auto_increment, b varchar(100)); +drop function f; +create table t14 (unique (a)) select * from t2; +truncate table t2; +create function f1 (x varchar(100)) returns int deterministic +begin +insert into t1 values(null,x); +return 1; +end| +create function f2 (x varchar(100)) returns int deterministic +begin +insert into t2 values(null,x); +return 1; +end| +select f1("try_46_"),f2("try_47_"); +f1("try_46_") f2("try_47_") +1 1 +connection slave; +insert into t2 values(2,null),(3,null),(4,null); +delete from t2 where a>=2; +connection master; +select f1("try_48_"),f2("try_49_"); +f1("try_48_") f2("try_49_") +1 1 +insert into t3 values(concat("try_50_",f1("try_51_"),f2("try_52_"))); +connection slave; +connection master; +drop function f2; +create function f2 (x varchar(100)) returns int deterministic +begin +declare y int; +insert into t1 values(null,x); +set y = (select count(*) from t2); +return y; +end| +select f1("try_53_"),f2("try_54_"); +f1("try_53_") f2("try_54_") +1 3 +connection slave; +connection master; +drop function f2; +create trigger t1_bi before insert on t1 for each row +begin +insert into t2 values(null,"try_55_"); +end| +insert into t1 values(null,"try_56_"); +alter table t1 modify a int, drop primary key; +insert into t1 values(null,"try_57_"); +connection slave; +connection master; +CREATE TEMPORARY TABLE t15 SELECT SYS_GUID(); +create table t16 like t15; +INSERT INTO t16 SELECT * FROM t15; +insert into t16 values("try_65_"); +drop table t15; +insert into t16 values("try_66_"); +connection slave; +connection master; +select count(*) from t1; +count(*) +7 +select count(*) from t2; +count(*) +5 +select count(*) from t3; +count(*) +1 +select count(*) from t4; +count(*) +29 +select count(*) from t5; +count(*) +58 +select count(*) from t11; +count(*) +8 +select count(*) from t20; +count(*) +66 +select count(*) from t21; +count(*) +19 +select count(*) from t22; +count(*) +2 +select count(*) from t12; +count(*) +4 +select count(*) from t13; +count(*) +1 +select count(*) from t14; +count(*) +4 +select count(*) from t16; +count(*) +3 +connection slave; +connection master; +DROP TABLE IF EXISTS t11; +SET SESSION BINLOG_FORMAT=STATEMENT; +CREATE TABLE t11 (song VARCHAR(255)); +LOCK TABLES t11 WRITE; +SET SESSION BINLOG_FORMAT=ROW; +INSERT INTO t11 VALUES('Several Species of Small Furry Animals Gathered Together in a Cave and Grooving With a Pict'); +SET SESSION BINLOG_FORMAT=STATEMENT; +INSERT INTO t11 VALUES('Careful With That Axe, Eugene'); +UNLOCK TABLES; +SELECT * FROM t11; +song Several Species of Small Furry Animals Gathered Together in a Cave and Grooving With a Pict +song Careful With That Axe, Eugene +connection slave; +USE mysqltest1; +SELECT * FROM t11; +song Several Species of Small Furry Animals Gathered Together in a Cave and Grooving With a Pict +song Careful With That Axe, Eugene +connection master; +DROP TABLE IF EXISTS t12; +SET SESSION BINLOG_FORMAT=MIXED; +CREATE TABLE t12 (data LONG); +LOCK TABLES t12 WRITE; +INSERT INTO t12 VALUES(SYS_GUID()); +UNLOCK TABLES; +connection slave; +connection master; +CREATE FUNCTION my_user() +RETURNS CHAR(64) +BEGIN +DECLARE user CHAR(64); +SELECT USER() INTO user; +RETURN user; +END $$ +CREATE FUNCTION my_current_user() +RETURNS CHAR(64) +BEGIN +DECLARE user CHAR(64); +SELECT CURRENT_USER() INTO user; +RETURN user; +END $$ +DROP TABLE IF EXISTS t13; +CREATE TABLE t13 (data CHAR(64)); +INSERT INTO t13 VALUES (USER()); +INSERT INTO t13 VALUES (my_user()); +INSERT INTO t13 VALUES (CURRENT_USER()); +INSERT INTO t13 VALUES (my_current_user()); +connection slave; +connection master; +drop database mysqltest1; +connection slave; +connection master; +set global binlog_format =@my_binlog_format; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_temp_table.result b/mysql-test/suite/engines/funcs/r/rpl_temp_table.result new file mode 100644 index 00000000..ff3e52f7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_temp_table.result @@ -0,0 +1,63 @@ +include/master-slave.inc +[connection master] +create table t2 (n int, PRIMARY KEY(n)); +create temporary table t1 (n int); +create temporary table t3 (n int not null); +insert into t1 values(1),(2),(3),(100),(25),(26),(200),(300); +insert into t2 select * from t1; +alter table t3 add primary key(n); +flush logs; +insert into t3 values (1010); +insert into t2 select * from t3; +drop table if exists t3; +insert into t2 values (1012); +connection master1; +create temporary table t1 (n int); +insert into t1 values (4),(5); +insert into t2 select * from t1; +disconnect master; +connection slave; +connection master1; +insert into t2 values(61); +disconnect master1; +connection slave; +select * from t2; +n +1 +2 +3 +4 +5 +25 +26 +61 +100 +200 +300 +1010 +1012 +select count(*) from t2; +count(*) +13 +select sum(n) from t2; +sum(n) +2749 +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 0 +*** MDEV-8016: Replication aborts on DROP /*!40005 TEMPORARY */ TABLE IF EXISTS *** +connect master2,localhost,root,,; +INSERT INTO t2 VALUES (2000), (2001); +CREATE FUNCTION f() RETURNS INTEGER RETURN 1; +CREATE TEMPORARY TABLE t3 AS SELECT f() AS col FROM t2; +disconnect master2; +connection default; +connection slave; +connect master2,localhost,root,,; +connection master2; +drop table if exists t1,t2; +Warnings: +Note 1051 Unknown table 'test.t1' +drop function f; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_temporary.result b/mysql-test/suite/engines/funcs/r/rpl_temporary.result new file mode 100644 index 00000000..492e9ac3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_temporary.result @@ -0,0 +1,248 @@ +SET sql_log_bin = 0; +SET sql_log_bin = 1; +include/master-slave.inc +[connection master] +connection slave; +reset master; +connection master; +DROP TABLE IF EXISTS t1; +CREATE TEMPORARY TABLE t1 (a char(1)); +INSERT INTO t1 VALUES ('a'); +connection slave; +include/stop_slave.inc +include/start_slave.inc +connection master; +INSERT INTO t1 VALUES ('b'); +connection slave; +connection master; +DROP TABLE IF EXISTS t1; +CREATE TEMPORARY TABLE `t1`(`a` tinyint,`b` char(1))engine=myisam; +INSERT IGNORE INTO `t1` set `a`=128,`b`='128'; +Warnings: +Warning 1264 Out of range value for column 'a' at row 1 +Warning 1265 Data truncated for column 'b' at row 1 +connection slave; +include/stop_slave.inc +include/start_slave.inc +connection master; +INSERT IGNORE INTO `t1` set `a`=128,`b`='128'; +Warnings: +Warning 1264 Out of range value for column 'a' at row 1 +Warning 1265 Data truncated for column 'b' at row 1 +connection slave; +connection master; +DROP TABLE t1; +connection slave; +connection master; +create user zedjzlcsjhd@localhost; +GRANT ALL on test.* to zedjzlcsjhd@localhost; +connect con1,localhost,root,,; +connect con2,localhost,root,,; +connect con3,localhost,zedjzlcsjhd,,; +connection con3; +SET @save_select_limit=@@session.sql_select_limit; +SET @@session.sql_select_limit=10, @@session.pseudo_thread_id=100; +ERROR 42000: Access denied; you need (at least one of) the SUPER, BINLOG REPLAY privilege(s) for this operation +SELECT @@session.sql_select_limit = @save_select_limit; +@@session.sql_select_limit = @save_select_limit +1 +SET @@session.sql_select_limit=10, @@session.sql_log_bin=0; +ERROR 42000: Access denied; you need (at least one of) the SUPER, BINLOG ADMIN privilege(s) for this operation +SELECT @@session.sql_select_limit = @save_select_limit; +@@session.sql_select_limit = @save_select_limit +1 +connection con2; +SET @save_conn_id= connection_id(); +SET @@session.pseudo_thread_id=100; +SET @@session.pseudo_thread_id=connection_id(); +SET @@session.pseudo_thread_id=@save_conn_id; +SET @@session.sql_log_bin=0; +SET @@session.sql_log_bin=1; +connection con3; +drop table if exists t1,t2; +create table t1(f int); +create table t2(f int); +insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); +SELECT COUNT(*) FROM t1; +COUNT(*) +10 +connection con1; +create temporary table t3(f int); +insert into t3 select * from t1 where f<6; +connection con2; +create temporary table t3(f int); +connection con1; +insert into t2 select count(*) from t3; +connection con2; +insert into t3 select * from t1 where f>=4; +connection con1; +drop temporary table t3; +connection con2; +insert into t2 select count(*) from t3; +drop temporary table t3; +select * from t2 ORDER BY f; +f +5 +7 +drop table t1, t2; +drop user zedjzlcsjhd@localhost; +use test; +SET TIMESTAMP=1040323920; +create table t1(f int); +SET TIMESTAMP=1040323931; +create table t2(f int); +SET TIMESTAMP=1040323938; +insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); +SET TIMESTAMP=1040323945; +SET @@session.pseudo_thread_id=1; +create temporary table t3(f int); +SET TIMESTAMP=1040323952; +SET @@session.pseudo_thread_id=1; +insert into t3 select * from t1 where f<6; +SET TIMESTAMP=1040324145; +SET @@session.pseudo_thread_id=2; +create temporary table t3(f int); +SET TIMESTAMP=1040324186; +SET @@session.pseudo_thread_id=1; +insert into t2 select count(*) from t3; +SET TIMESTAMP=1040324200; +SET @@session.pseudo_thread_id=2; +insert into t3 select * from t1 where f>=4; +SET TIMESTAMP=1040324211; +SET @@session.pseudo_thread_id=1; +drop temporary table t3; +SET TIMESTAMP=1040324219; +SET @@session.pseudo_thread_id=2; +insert into t2 select count(*) from t3; +SET TIMESTAMP=1040324224; +SET @@session.pseudo_thread_id=2; +drop temporary table t3; +select * from t2 ORDER BY f; +f +5 +7 +drop table t1,t2; +create temporary table t3 (f int); +connection slave; +connection master; +create temporary table t4 (f int); +create table t5 (f int); +connection slave; +stop slave; +connection master; +insert into t5 select * from t4; +connection slave; +start slave; +select * from t5 /* must be 1 after reconnection */; +f +connection master; +drop temporary table t4; +drop table t5; +connection con1; +set @@session.pseudo_thread_id=100; +create temporary table t101 (id int); +create temporary table t102 (id int); +set @@session.pseudo_thread_id=200; +create temporary table t201 (id int); +create temporary table `t``201` (id int); +create temporary table `#sql_not_user_table202` (id int); +set @@session.pseudo_thread_id=300; +create temporary table t301 (id int); +create temporary table t302 (id int); +create temporary table `#sql_not_user_table303` (id int); +disconnect con1; +connection master; +create table t1(f int); +insert into t1 values (1); +connection slave; +select * from t1 /* must be 1 */; +f +1 +connection master; +drop table t1; +connection slave; +select * from t1; +a +1 +connection master; +drop table t1; +connection slave; +include/stop_slave.inc +connection master; +include/rpl_reset.inc +-- Bug#43748 +-- make a user on the slave that can list but not kill system threads. +connection slave; +FLUSH PRIVILEGES; +GRANT USAGE ON *.* TO user43748@127.0.0.1 IDENTIFIED BY 'meow'; +GRANT PROCESS ON *.* TO user43748@127.0.0.1; +-- try to KILL system-thread as that non-privileged user (on slave). +connect cont43748,127.0.0.1,user43748,meow,"*NO-ONE*",$SLAVE_MYPORT,; +connection cont43748; +SELECT id INTO @id FROM information_schema.processlist WHERE user='system user' LIMIT 1; +KILL @id; +Got one of the listed errors +disconnect cont43748; +-- throw out test-user on slave. +connection slave; +DROP USER user43748@127.0.0.1; +# +# MDEV-10216: Assertion `strcmp(share->unique_file_name,filename) || +# share->last_version' failed in myisam/mi_open.c:67: test_if_reopen +# +connection master; +CREATE TEMPORARY TABLE t1(i INT PRIMARY KEY) ENGINE=MYISAM; +INSERT INTO t1 VALUES(1); +SELECT COUNT(*)=1 FROM t1; +COUNT(*)=1 +1 +ALTER TABLE t1 RENAME t2; +SELECT COUNT(*)=1 FROM t2; +COUNT(*)=1 +1 +ALTER TABLE t2 RENAME t1; +ALTER TABLE t1 DISABLE KEYS; +ALTER TABLE t1 ENABLE KEYS; +LOCK TABLES t1 WRITE; +ALTER TABLE t1 RENAME t2; +SELECT COUNT(*)=1 FROM t2; +COUNT(*)=1 +1 +ALTER TABLE t2 RENAME t1; +ALTER TABLE t1 DISABLE KEYS; +ALTER TABLE t1 ENABLE KEYS; +UNLOCK TABLES; +LOCK TABLES t1 READ; +ALTER TABLE t1 RENAME t2; +SELECT COUNT(*)=1 FROM t2; +COUNT(*)=1 +1 +ALTER TABLE t2 RENAME t1; +ALTER TABLE t1 DISABLE KEYS; +ALTER TABLE t1 ENABLE KEYS; +UNLOCK TABLES; +FLUSH TABLES WITH READ LOCK; +ALTER TABLE t1 RENAME t2; +SELECT COUNT(*)=1 FROM t2; +COUNT(*)=1 +1 +ALTER TABLE t2 RENAME t1; +ALTER TABLE t1 DISABLE KEYS; +ALTER TABLE t1 ENABLE KEYS; +UNLOCK TABLES; +ALTER TABLE t1 RENAME t2, LOCK SHARED; +ALTER TABLE t2 RENAME t1, LOCK EXCLUSIVE; +DROP TABLE t1; +# +# MDEV-10320: NO-OP ALTER TABLE on temporary tables getting logged +# under row binlog format +# +connection master; +CREATE TEMPORARY TABLE t1(i INT PRIMARY KEY) ENGINE=MYISAM; +ALTER TABLE t1; +ALTER TABLE t1 ADD COLUMN IF NOT EXISTS I INT; +Warnings: +Note 1060 Duplicate column name 'I' +DROP TABLE t1; +End of 5.1 tests +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_trigger.result b/mysql-test/suite/engines/funcs/r/rpl_trigger.result new file mode 100644 index 00000000..3913508d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_trigger.result @@ -0,0 +1,1094 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +CHANGE MASTER TO MASTER_USE_GTID=NO; +include/start_slave.inc +connection master; +call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"); +create table t1 (a int auto_increment, primary key (a), b int, rand_value double not null); +create table t2 (a int auto_increment, primary key (a), b int); +create table t3 (a int auto_increment, primary key (a), name varchar(64) not null, old_a int, old_b int, rand_value double not null); +create trigger t1 before insert on t1 for each row +begin +insert into t3 values (NULL, "t1", new.a, new.b, rand()); +end| +create trigger t2 after insert on t2 for each row +begin +insert into t3 values (NULL, "t2", new.a, new.b, rand()); +end| +insert into t3 values(100,"log",0,0,0); +SET @@RAND_SEED1=658490765, @@RAND_SEED2=635893186; +insert into t1 values(1,1,rand()),(NULL,2,rand()); +insert into t2 (b) values(last_insert_id()); +insert into t2 values(3,0); +insert into t2 values(NULL,0); +insert into t2 values(NULL,0); +insert into t2 values(500,0); +select a,b, truncate(rand_value,4) from t1; +a b truncate(rand_value,4) +1 1 0.4320 +2 2 0.3055 +select * from t2; +a b +1 2 +3 0 +4 0 +5 0 +500 0 +select a,name, old_a, old_b, truncate(rand_value,4) from t3; +a name old_a old_b truncate(rand_value,4) +100 log 0 0 0.0000 +101 t1 1 1 0.3203 +102 t1 NULL 2 0.5666 +103 t2 1 2 0.9164 +104 t2 3 0 0.8826 +105 t2 4 0 0.6635 +106 t2 5 0 0.6699 +107 t2 500 0 0.3593 +connection slave; +select a,b, truncate(rand_value,4) from t1; +a b truncate(rand_value,4) +1 1 0.4320 +2 2 0.3055 +select * from t2; +a b +1 2 +3 0 +4 0 +5 0 +500 0 +select a,name, old_a, old_b, truncate(rand_value,4) from t3; +a name old_a old_b truncate(rand_value,4) +100 log 0 0 0.0000 +101 t1 1 1 0.3203 +102 t1 NULL 2 0.5666 +103 t2 1 2 0.9164 +104 t2 3 0 0.8826 +105 t2 4 0 0.6635 +106 t2 5 0 0.6699 +107 t2 500 0 0.3593 +connection master; +drop table t1,t2,t3; +connect con2,localhost,root,,; +connection con2; +select get_lock("bug12480",2); +get_lock("bug12480",2) +1 +connection default; +create table t1 (a datetime,b datetime, c datetime); +drop function if exists bug12480; +create function bug12480() returns datetime +begin +set @a=get_lock("bug12480",2); +return now(); +end| +create trigger t1_first before insert on t1 +for each row begin +set @a=get_lock("bug12480",2); +set new.b= now(); +set new.c= bug12480(); +end +| +insert into t1 set a = now(); +select a=b && a=c from t1; +a=b && a=c +1 +SELECT routine_name, definer +FROM information_schema.routines +WHERE routine_name = 'bug12480'; +routine_name definer +bug12480 root@localhost +SELECT trigger_name, definer +FROM information_schema.triggers +WHERE trigger_name = 't1_first'; +trigger_name definer +t1_first root@localhost +connection slave; +SELECT routine_name, definer +FROM information_schema.routines +WHERE routine_name = 'bug12480'; +routine_name definer +bug12480 root@localhost +SELECT trigger_name, definer +FROM information_schema.triggers +WHERE trigger_name = 't1_first'; +trigger_name definer +t1_first root@localhost +select a=b && a=c from t1; +a=b && a=c +1 +test +1 +connection master; +disconnect con2; +truncate table t1; +drop trigger t1_first; +insert into t1 values ("2003-03-03","2003-03-03","2003-03-03"),(bug12480(),bug12480(),bug12480()),(now(),now(),now()); +select a=b && a=c from t1; +a=b && a=c +1 +1 +1 +drop function bug12480; +drop table t1; +create table t1 (i int); +create table t2 (i int); +create trigger tr1 before insert on t1 for each row +begin +insert into t2 values (1); +end| +create database other; +use other; +insert into test.t1 values (1); +connection slave; +connection master; +use test; +drop table t1,t2; +drop database other; +test case for BUG#13227 +------------------- +10 +------------------- +connection master; +drop table if exists t110; +connection slave; +drop table if exists t210,t310; +connection master; +create table t110 (f1 int) /* 2 replicate */; +insert into t110 values (-5); +insert into t110 values (-4); +insert into t110 values (-3); +insert into t110 values (-2); +insert into t110 values (-1); +connection slave; +select * from t110; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg110 before update on t110 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t210 where f1=NEW.f1; +INSERT INTO t310 values (r); +end| +create table t210 (f1 int, f2 int) /* slave local */; +create table t310 (f3 int) /* slave local */; +insert into t210 values (5, 5*100); +insert into t210 values (4, 4*100); +insert into t210 values (3, 3*100); +insert into t210 values (2, 2*100); +insert into t210 values (1, 1*100); +select * from t210; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t110 SET f1=5 where f1=-5; +SELECT * from t110 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t310 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t110 SET f1=5 where f1=-5; +UPDATE t110 SET f1=4 where f1=-4; +UPDATE t110 SET f1=3 where f1=-3; +UPDATE t110 SET f1=2 where f1=-2; +UPDATE t110 SET f1=1 where f1=-1; +connection slave; +SELECT * from t110 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t310 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg110; +drop table t210,t310; +connection master; +drop table t110; +connection slave; +connection master; +------------------- +9 +------------------- +connection master; +drop table if exists t19; +connection slave; +drop table if exists t29,t39; +connection master; +create table t19 (f1 int) /* 2 replicate */; +insert into t19 values (-5); +insert into t19 values (-4); +insert into t19 values (-3); +insert into t19 values (-2); +insert into t19 values (-1); +connection slave; +select * from t19; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg19 before update on t19 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t29 where f1=NEW.f1; +INSERT INTO t39 values (r); +end| +create table t29 (f1 int, f2 int) /* slave local */; +create table t39 (f3 int) /* slave local */; +insert into t29 values (5, 5*100); +insert into t29 values (4, 4*100); +insert into t29 values (3, 3*100); +insert into t29 values (2, 2*100); +insert into t29 values (1, 1*100); +select * from t29; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t19 SET f1=5 where f1=-5; +SELECT * from t19 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t39 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t19 SET f1=5 where f1=-5; +UPDATE t19 SET f1=4 where f1=-4; +UPDATE t19 SET f1=3 where f1=-3; +UPDATE t19 SET f1=2 where f1=-2; +UPDATE t19 SET f1=1 where f1=-1; +connection slave; +SELECT * from t19 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t39 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg19; +drop table t29,t39; +connection master; +drop table t19; +connection slave; +connection master; +------------------- +8 +------------------- +connection master; +drop table if exists t18; +connection slave; +drop table if exists t28,t38; +connection master; +create table t18 (f1 int) /* 2 replicate */; +insert into t18 values (-5); +insert into t18 values (-4); +insert into t18 values (-3); +insert into t18 values (-2); +insert into t18 values (-1); +connection slave; +select * from t18; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg18 before update on t18 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t28 where f1=NEW.f1; +INSERT INTO t38 values (r); +end| +create table t28 (f1 int, f2 int) /* slave local */; +create table t38 (f3 int) /* slave local */; +insert into t28 values (5, 5*100); +insert into t28 values (4, 4*100); +insert into t28 values (3, 3*100); +insert into t28 values (2, 2*100); +insert into t28 values (1, 1*100); +select * from t28; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t18 SET f1=5 where f1=-5; +SELECT * from t18 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t38 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t18 SET f1=5 where f1=-5; +UPDATE t18 SET f1=4 where f1=-4; +UPDATE t18 SET f1=3 where f1=-3; +UPDATE t18 SET f1=2 where f1=-2; +UPDATE t18 SET f1=1 where f1=-1; +connection slave; +SELECT * from t18 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t38 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg18; +drop table t28,t38; +connection master; +drop table t18; +connection slave; +connection master; +------------------- +7 +------------------- +connection master; +drop table if exists t17; +connection slave; +drop table if exists t27,t37; +connection master; +create table t17 (f1 int) /* 2 replicate */; +insert into t17 values (-5); +insert into t17 values (-4); +insert into t17 values (-3); +insert into t17 values (-2); +insert into t17 values (-1); +connection slave; +select * from t17; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg17 before update on t17 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t27 where f1=NEW.f1; +INSERT INTO t37 values (r); +end| +create table t27 (f1 int, f2 int) /* slave local */; +create table t37 (f3 int) /* slave local */; +insert into t27 values (5, 5*100); +insert into t27 values (4, 4*100); +insert into t27 values (3, 3*100); +insert into t27 values (2, 2*100); +insert into t27 values (1, 1*100); +select * from t27; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t17 SET f1=5 where f1=-5; +SELECT * from t17 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t37 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t17 SET f1=5 where f1=-5; +UPDATE t17 SET f1=4 where f1=-4; +UPDATE t17 SET f1=3 where f1=-3; +UPDATE t17 SET f1=2 where f1=-2; +UPDATE t17 SET f1=1 where f1=-1; +connection slave; +SELECT * from t17 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t37 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg17; +drop table t27,t37; +connection master; +drop table t17; +connection slave; +connection master; +------------------- +6 +------------------- +connection master; +drop table if exists t16; +connection slave; +drop table if exists t26,t36; +connection master; +create table t16 (f1 int) /* 2 replicate */; +insert into t16 values (-5); +insert into t16 values (-4); +insert into t16 values (-3); +insert into t16 values (-2); +insert into t16 values (-1); +connection slave; +select * from t16; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg16 before update on t16 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t26 where f1=NEW.f1; +INSERT INTO t36 values (r); +end| +create table t26 (f1 int, f2 int) /* slave local */; +create table t36 (f3 int) /* slave local */; +insert into t26 values (5, 5*100); +insert into t26 values (4, 4*100); +insert into t26 values (3, 3*100); +insert into t26 values (2, 2*100); +insert into t26 values (1, 1*100); +select * from t26; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t16 SET f1=5 where f1=-5; +SELECT * from t16 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t36 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t16 SET f1=5 where f1=-5; +UPDATE t16 SET f1=4 where f1=-4; +UPDATE t16 SET f1=3 where f1=-3; +UPDATE t16 SET f1=2 where f1=-2; +UPDATE t16 SET f1=1 where f1=-1; +connection slave; +SELECT * from t16 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t36 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg16; +drop table t26,t36; +connection master; +drop table t16; +connection slave; +connection master; +------------------- +5 +------------------- +connection master; +drop table if exists t15; +connection slave; +drop table if exists t25,t35; +connection master; +create table t15 (f1 int) /* 2 replicate */; +insert into t15 values (-5); +insert into t15 values (-4); +insert into t15 values (-3); +insert into t15 values (-2); +insert into t15 values (-1); +connection slave; +select * from t15; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg15 before update on t15 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t25 where f1=NEW.f1; +INSERT INTO t35 values (r); +end| +create table t25 (f1 int, f2 int) /* slave local */; +create table t35 (f3 int) /* slave local */; +insert into t25 values (5, 5*100); +insert into t25 values (4, 4*100); +insert into t25 values (3, 3*100); +insert into t25 values (2, 2*100); +insert into t25 values (1, 1*100); +select * from t25; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t15 SET f1=5 where f1=-5; +SELECT * from t15 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t35 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t15 SET f1=5 where f1=-5; +UPDATE t15 SET f1=4 where f1=-4; +UPDATE t15 SET f1=3 where f1=-3; +UPDATE t15 SET f1=2 where f1=-2; +UPDATE t15 SET f1=1 where f1=-1; +connection slave; +SELECT * from t15 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t35 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg15; +drop table t25,t35; +connection master; +drop table t15; +connection slave; +connection master; +------------------- +4 +------------------- +connection master; +drop table if exists t14; +connection slave; +drop table if exists t24,t34; +connection master; +create table t14 (f1 int) /* 2 replicate */; +insert into t14 values (-5); +insert into t14 values (-4); +insert into t14 values (-3); +insert into t14 values (-2); +insert into t14 values (-1); +connection slave; +select * from t14; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg14 before update on t14 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t24 where f1=NEW.f1; +INSERT INTO t34 values (r); +end| +create table t24 (f1 int, f2 int) /* slave local */; +create table t34 (f3 int) /* slave local */; +insert into t24 values (5, 5*100); +insert into t24 values (4, 4*100); +insert into t24 values (3, 3*100); +insert into t24 values (2, 2*100); +insert into t24 values (1, 1*100); +select * from t24; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t14 SET f1=5 where f1=-5; +SELECT * from t14 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t34 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t14 SET f1=5 where f1=-5; +UPDATE t14 SET f1=4 where f1=-4; +UPDATE t14 SET f1=3 where f1=-3; +UPDATE t14 SET f1=2 where f1=-2; +UPDATE t14 SET f1=1 where f1=-1; +connection slave; +SELECT * from t14 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t34 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg14; +drop table t24,t34; +connection master; +drop table t14; +connection slave; +connection master; +------------------- +3 +------------------- +connection master; +drop table if exists t13; +connection slave; +drop table if exists t23,t33; +connection master; +create table t13 (f1 int) /* 2 replicate */; +insert into t13 values (-5); +insert into t13 values (-4); +insert into t13 values (-3); +insert into t13 values (-2); +insert into t13 values (-1); +connection slave; +select * from t13; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg13 before update on t13 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t23 where f1=NEW.f1; +INSERT INTO t33 values (r); +end| +create table t23 (f1 int, f2 int) /* slave local */; +create table t33 (f3 int) /* slave local */; +insert into t23 values (5, 5*100); +insert into t23 values (4, 4*100); +insert into t23 values (3, 3*100); +insert into t23 values (2, 2*100); +insert into t23 values (1, 1*100); +select * from t23; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t13 SET f1=5 where f1=-5; +SELECT * from t13 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t33 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t13 SET f1=5 where f1=-5; +UPDATE t13 SET f1=4 where f1=-4; +UPDATE t13 SET f1=3 where f1=-3; +UPDATE t13 SET f1=2 where f1=-2; +UPDATE t13 SET f1=1 where f1=-1; +connection slave; +SELECT * from t13 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t33 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg13; +drop table t23,t33; +connection master; +drop table t13; +connection slave; +connection master; +------------------- +2 +------------------- +connection master; +drop table if exists t12; +connection slave; +drop table if exists t22,t32; +connection master; +create table t12 (f1 int) /* 2 replicate */; +insert into t12 values (-5); +insert into t12 values (-4); +insert into t12 values (-3); +insert into t12 values (-2); +insert into t12 values (-1); +connection slave; +select * from t12; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg12 before update on t12 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t22 where f1=NEW.f1; +INSERT INTO t32 values (r); +end| +create table t22 (f1 int, f2 int) /* slave local */; +create table t32 (f3 int) /* slave local */; +insert into t22 values (5, 5*100); +insert into t22 values (4, 4*100); +insert into t22 values (3, 3*100); +insert into t22 values (2, 2*100); +insert into t22 values (1, 1*100); +select * from t22; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t12 SET f1=5 where f1=-5; +SELECT * from t12 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t32 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t12 SET f1=5 where f1=-5; +UPDATE t12 SET f1=4 where f1=-4; +UPDATE t12 SET f1=3 where f1=-3; +UPDATE t12 SET f1=2 where f1=-2; +UPDATE t12 SET f1=1 where f1=-1; +connection slave; +SELECT * from t12 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t32 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg12; +drop table t22,t32; +connection master; +drop table t12; +connection slave; +connection master; +------------------- +1 +------------------- +connection master; +drop table if exists t11; +connection slave; +drop table if exists t21,t31; +connection master; +create table t11 (f1 int) /* 2 replicate */; +insert into t11 values (-5); +insert into t11 values (-4); +insert into t11 values (-3); +insert into t11 values (-2); +insert into t11 values (-1); +connection slave; +select * from t11; +f1 +-5 +-4 +-3 +-2 +-1 +create trigger trg11 before update on t11 /* slave local */ +for each row +begin +DECLARE r integer; +SELECT f2 INTO r FROM t21 where f1=NEW.f1; +INSERT INTO t31 values (r); +end| +create table t21 (f1 int, f2 int) /* slave local */; +create table t31 (f3 int) /* slave local */; +insert into t21 values (5, 5*100); +insert into t21 values (4, 4*100); +insert into t21 values (3, 3*100); +insert into t21 values (2, 2*100); +insert into t21 values (1, 1*100); +select * from t21; +f1 f2 +5 500 +4 400 +3 300 +2 200 +1 100 +UPDATE t11 SET f1=5 where f1=-5; +SELECT * from t11 /* must be f1 5, 1 - 5 2 - 5 ... -1 */; +f1 +5 +-4 +-3 +-2 +-1 +SELECT * from t31 /* must be f3 5*100 */; +f3 +500 +connection master; +UPDATE t11 SET f1=5 where f1=-5; +UPDATE t11 SET f1=4 where f1=-4; +UPDATE t11 SET f1=3 where f1=-3; +UPDATE t11 SET f1=2 where f1=-2; +UPDATE t11 SET f1=1 where f1=-1; +connection slave; +SELECT * from t11 /* must be f1 5 ... 1 */; +f1 +5 +4 +3 +2 +1 +SELECT * from t31 /* must be f3 5 * 100 ... 100 */; +f3 +500 +400 +300 +200 +100 +drop trigger trg11; +drop table t21,t31; +connection master; +drop table t11; +connection slave; +connection master; +connection slave; +include/stop_slave.inc +connection master; +FLUSH LOGS; +include/rpl_stop_server.inc [server_number=1] +include/rpl_start_server.inc [server_number=1] +--> Master binlog: Server ver: 5.0.16-debug-log, Binlog ver: 4 +connection slave; +include/reset_slave.inc +Warnings: +Note 4190 RESET SLAVE is implicitly changing the value of 'Using_Gtid' from 'No' to 'Slave_Pos' +include/start_slave.inc +SELECT MASTER_POS_WAIT('master-bin.000001', 513) >= 0; +MASTER_POS_WAIT('master-bin.000001', 513) >= 0 +1 +SHOW TABLES LIKE 't_'; +Tables_in_test (t_) +t1 +t2 +SHOW TRIGGERS; +Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation +trg1 INSERT t1 INSERT INTO t2 VALUES(CURRENT_USER()) AFTER # latin1 latin1_swedish_ci latin1_swedish_ci +SELECT * FROM t1; +c +1 +SELECT * FROM t2; +s +@ +INSERT INTO t1 VALUES(2); +SELECT * FROM t1; +c +1 +2 +SELECT * FROM t2; +s +@ +root@localhost +DROP TRIGGER trg1; +DROP TABLE t1; +DROP TABLE t2; +include/stop_slave.inc +include/reset_slave.inc +Warnings: +Note 4190 RESET SLAVE is implicitly changing the value of 'Using_Gtid' from 'No' to 'Slave_Pos' +connection master; +SHOW TABLES LIKE 't_'; +Tables_in_test (t_) +SHOW TRIGGERS; +Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation +RESET MASTER; +connection slave; +include/start_slave.inc + +---> Test for BUG#20438 + +---> Preparing environment... +connection master; +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; + +---> Synchronizing slave with master... +connection slave; + +connection master; + +---> Creating objects... +CREATE TABLE t1(c INT); +CREATE TABLE t2(c INT); +/*!50003 CREATE TRIGGER t1_bi BEFORE INSERT ON t1 +FOR EACH ROW +INSERT INTO t2 VALUES(NEW.c * 10) */; + +---> Inserting value... +INSERT INTO t1 VALUES(1); + +---> Checking on master... +SELECT * FROM t1; +c +1 +SELECT * FROM t2; +c +10 + +---> Synchronizing slave with master... +connection slave; + +---> Checking on slave... +SELECT * FROM t1; +c +1 +SELECT * FROM t2; +c +10 + +connection master; + +---> Cleaning up... +DROP TABLE t1; +DROP TABLE t2; +connection slave; +connection master; +connection master; +drop table if exists t1; +create table t1(a int, b varchar(50)); +drop trigger not_a_trigger; +ERROR HY000: Trigger does not exist +drop trigger if exists not_a_trigger; +Warnings: +Note 1360 Trigger does not exist +create trigger t1_bi before insert on t1 +for each row set NEW.b := "In trigger t1_bi"; +insert into t1 values (1, "a"); +drop trigger if exists t1_bi; +insert into t1 values (2, "b"); +drop trigger if exists t1_bi; +Warnings: +Note 1360 Trigger does not exist +insert into t1 values (3, "c"); +select * from t1; +a b +1 In trigger t1_bi +2 b +3 c +connection slave; +select * from t1; +a b +1 In trigger t1_bi +2 b +3 c +connection master; +drop table if exists t1,t11; +Warnings: +Note 1051 Unknown table 'test.t11' +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_trunc_temp.result b/mysql-test/suite/engines/funcs/r/rpl_trunc_temp.result new file mode 100644 index 00000000..35cd91d7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_trunc_temp.result @@ -0,0 +1,26 @@ +include/master-slave.inc +[connection master] +create temporary table t1 (n int); +insert into t1 values(1); +connection slave; +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 1 +connection master; +delete from t1; +connection slave; +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 1 +connection master; +truncate t1; +connection slave; +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 1 +disconnect master; +connection slave; +show status like 'Slave_open_temp_tables'; +Variable_name Value +Slave_open_temp_tables 0 +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_user_variables.result b/mysql-test/suite/engines/funcs/r/rpl_user_variables.result new file mode 100644 index 00000000..0efdbff5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_user_variables.result @@ -0,0 +1,312 @@ +include/master-slave.inc +[connection master] +connection slave; +reset master; +connection master; +create table t1(n char(30)); +set @i1:=12345678901234, @i2:=-12345678901234, @i3:=0, @i4:=-1; +set @s1:='This is a test', @r1:=12.5, @r2:=-12.5; +set @n1:=null; +set @s2:='', @s3:='abc\'def', @s4:= 'abc\\def', @s5:= 'abc''def'; +insert into t1 values (@i1), (@i2), (@i3), (@i4); +insert into t1 values (@r1), (@r2); +insert into t1 values (@s1), (@s2), (@s3), (@s4), (@s5); +insert into t1 values (@n1); +insert into t1 values (@n2); +insert into t1 values (@a:=0), (@a:=@a+1), (@a:=@a+1); +insert into t1 values (@a+(@b:=@a+1)); +set @q:='abc'; +insert t1 values (@q), (@q:=concat(@q, 'n1')), (@q:=concat(@q, 'n2')); +set @a:=5; +insert into t1 values (@a),(@a); +select * from t1 where n = ''; +n +connection master1; +insert into t1 values (@a),(@a),(@a*5); +SELECT * FROM t1 ORDER BY n; +n +NULL +NULL +NULL +NULL +NULL + +-1 +-12.5 +-12345678901234 +0 +0 +1 +12.5 +12345678901234 +2 +5 +5 +5 +abc +abc'def +abc'def +abcn1 +abcn1n2 +abc\def +This is a test +connection slave; +SELECT * FROM t1 ORDER BY n; +n +NULL +NULL +NULL +NULL +NULL + +-1 +-12.5 +-12345678901234 +0 +0 +1 +12.5 +12345678901234 +2 +5 +5 +5 +abc +abc'def +abc'def +abcn1 +abcn1n2 +abc\def +This is a test +connection master; +insert into t1 select * FROM (select @var1 union select @var2) AS t2; +drop table t1; +End of 4.1 tests. +DROP TABLE IF EXISTS t20; +DROP TABLE IF EXISTS t21; +DROP PROCEDURE IF EXISTS test.insert; +CREATE TABLE t20 (a VARCHAR(20)); +CREATE TABLE t21 (a VARCHAR(20)); +CREATE PROCEDURE test.insert() +BEGIN +IF (@VAR) +THEN +INSERT INTO test.t20 VALUES ('SP_TRUE'); +ELSE +INSERT INTO test.t20 VALUES ('SP_FALSE'); +END IF; +END| +CREATE TRIGGER test.insert_bi BEFORE INSERT +ON test.t20 FOR EACH ROW +BEGIN +IF (@VAR) +THEN +INSERT INTO test.t21 VALUES ('TRIG_TRUE'); +ELSE +INSERT INTO test.t21 VALUES ('TRIG_FALSE'); +END IF; +END| +connection slave; +connection master; +SET @VAR=0; +CALL test.insert(); +SET @VAR=1; +CALL test.insert(); +Check the tables for correct data +SELECT * FROM t20; +a +SP_FALSE +SP_TRUE +SELECT * FROM t21; +a +TRIG_FALSE +TRIG_TRUE +connection slave; +Check the tables for correct data and it matches master +SELECT * FROM t20; +a +SP_FALSE +SP_TRUE +SELECT * FROM t21; +a +TRIG_FALSE +TRIG_TRUE +connection master; +DROP TABLE t20; +DROP TABLE t21; +DROP PROCEDURE test.insert; +DROP TABLE IF EXISTS t1; +DROP FUNCTION IF EXISTS test.square; +CREATE TABLE t1 (i INT); +CREATE FUNCTION test.square() RETURNS INTEGER DETERMINISTIC RETURN +(@var * @var); +SET @var = 1; +INSERT INTO t1 VALUES (square()); +SET @var = 2; +INSERT INTO t1 VALUES (square()); +SET @var = 3; +INSERT INTO t1 VALUES (square()); +SET @var = 4; +INSERT INTO t1 VALUES (square()); +SET @var = 5; +INSERT INTO t1 VALUES (square()); +Retrieve the values from the table +SELECT * FROM t1; +i +1 +4 +9 +16 +25 +connection slave; +Retrieve the values from the table and verify they are the same as on master +SELECT * FROM t1; +i +1 +4 +9 +16 +25 +connection master; +DROP TABLE t1; +DROP FUNCTION test.square; +DROP TABLE IF EXISTS t1; +DROP FUNCTION IF EXISTS f1; +DROP FUNCTION IF EXISTS f2; +CREATE TABLE t1(a int); +CREATE FUNCTION f1() returns int deterministic BEGIN +return @a; +END | +CREATE FUNCTION f2() returns int deterministic BEGIN +IF (@b > 0) then +SET @c = (@a + @b); +else +SET @c = (@a - 1); +END if; +return @c; +END | +connection slave; +connection master; +SET @a=500; +INSERT INTO t1 values(f1()); +SET @b = 125; +SET @c = 1; +INSERT INTO t1 values(f2()); +Retrieve the values from the table +connection slave; +connection master; +SELECT * from t1; +a +500 +625 +connection slave; +Check the tables for correct data and it matches master +SELECT * from t1; +a +500 +625 +connection master; +DROP TABLE t1; +DROP FUNCTION f1; +DROP FUNCTION f2; +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (i int); +CREATE TABLE t2 (k int); +CREATE trigger t1_bi before INSERT on t1 for each row BEGIN +INSERT INTO t2 values (@a); +SET @a:=42; +INSERT INTO t2 values (@a); +END | +connection slave; +connection master; +SET @a:=100; +INSERT INTO t1 values (5); +Check to see that data was inserted correctly in both tables +SELECT * from t1; +i +5 +SELECT * from t2; +k +100 +42 +connection slave; +Check the tables for correct data and it matches master +SELECT * from t1; +i +5 +SELECT * from t2; +k +100 +42 +connection master; +drop table t1, t2; +connection master; +create table t1(a int, b int); +prepare s1 from 'insert into t1 values (@x:=@x+1, ?)'; +set @x=1; +execute s1 using @x; +select * from t1; +a b +2 1 +connection slave; +connection slave; +select * from t1; +a b +2 1 +connection master; +drop table t1; +connection master; +create table t1(a int); +insert into t1 values (1),(2); +prepare s1 from 'insert into t1 select a from t1 limit ?'; +set @x='1.1'; +execute s1 using @x; +select * from t1; +a +1 +2 +1 +connection slave; +connection slave; +select * from t1; +a +1 +2 +1 +connection master; +drop table t1; +End of 5.0 tests. +DROP FUNCTION IF EXISTS f1; +DROP FUNCTION IF EXISTS f2; +CREATE TABLE t1 (i INT); +CREATE FUNCTION f1() RETURNS INT RETURN @a; +CREATE +FUNCTION f2() RETURNS INT BEGIN +INSERT INTO t1 VALUES (10 + @a); +RETURN 0; +END| +connection slave; +connection master; +SET @a:=123; +SELECT f1(), f2(); +f1() f2() +123 0 +Check to see that data was inserted correctly +INSERT INTO t1 VALUES(f1()); +SELECT * FROM t1; +i +133 +123 +connection slave; +Check the table for correct data and it matches master +SELECT * FROM t1; +i +133 +123 +connection master; +DROP FUNCTION f1; +DROP FUNCTION f2; +DROP TABLE t1; +connection slave; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_variables.result b/mysql-test/suite/engines/funcs/r/rpl_variables.result new file mode 100644 index 00000000..547c324f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_variables.result @@ -0,0 +1,18 @@ +include/master-slave.inc +[connection master] +set @my_slave_net_timeout =@@global.slave_net_timeout; +set @my_sql_slave_skip_counter =@@global.sql_slave_skip_counter; +set global slave_net_timeout=100; +set global sql_slave_skip_counter=100; +show variables like 'slave_compressed_protocol'; +Variable_name Value +slave_compressed_protocol OFF +show variables like 'slave_load_tmpdir'; +Variable_name Value +slave_load_tmpdir SLAVE_LOAD_TMPDIR +show variables like 'slave_skip_errors'; +Variable_name Value +slave_skip_errors 3,100,137,643,1752 +set global slave_net_timeout=@my_slave_net_timeout; +set global sql_slave_skip_counter=@my_sql_slave_skip_counter; +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/rpl_view.result b/mysql-test/suite/engines/funcs/r/rpl_view.result new file mode 100644 index 00000000..68a14972 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/rpl_view.result @@ -0,0 +1,138 @@ +include/master-slave.inc +[connection master] +drop table if exists t1,v1; +drop view if exists t1,v1; +connection slave; +reset master; +connection master; +create table t1 (a int); +insert into t1 values (1); +create view v1 as select a from t1; +insert into v1 values (2); +select * from v1 order by a; +a +1 +2 +connection slave; +select * from v1 order by a; +a +1 +2 +connection master; +update v1 set a=3 where a=1; +select * from v1 order by a; +a +2 +3 +connection slave; +select * from v1 order by a; +a +2 +3 +connection master; +delete from v1 where a=2; +select * from v1 order by a; +a +3 +connection slave; +select * from v1 order by a; +a +3 +connection master; +alter view v1 as select a as b from t1; +connection slave; +select * from v1 order by 1; +b +3 +connection master; +drop view v1; +connection slave; +select * from v1 order by a; +ERROR 42S02: Table 'test.v1' doesn't exist +connection master; +drop table t1; +connection slave; + +---> Test for BUG#20438 + +---> Preparing environment... +connection master; +DROP TABLE IF EXISTS t1; +DROP VIEW IF EXISTS v1; + +---> Synchronizing slave with master... +connection slave; + +connection master; + +---> Creating objects... +CREATE TABLE t1(c INT); +/*!50003 CREATE VIEW v1 AS SELECT * FROM t1 */; + +---> Inserting value... +INSERT INTO t1 VALUES(1); + +---> Checking on master... +SELECT * FROM t1; +c +1 + +---> Synchronizing slave with master... +connection slave; +SELECT * FROM t1; +c +1 +connection master; + +---> Cleaning up... +DROP VIEW v1; +DROP TABLE t1; +connection slave; +connection master; +connection master; +create table t1(a int, b int); +insert into t1 values (1, 1), (1, 2), (1, 3); +create view v1(a, b) as select a, sum(b) from t1 group by a; +connection slave; +explain v1; +Field Type Null Key Default Extra +a int(11) YES NULL +b decimal(32,0) YES NULL +show create table v1; +View Create View character_set_client collation_connection +v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `t1`.`a` AS `a`,sum(`t1`.`b`) AS `b` from `t1` group by `t1`.`a` latin1 latin1_swedish_ci +select * from v1; +a b +1 6 +connection master; +drop table t1; +drop view v1; +connection slave; +connection master; +CREATE TABLE t1(a INT); +CREATE VIEW v1 AS SELECT * FROM t1; +CREATE VIEW v1 AS SELECT * FROM t1; +ERROR 42S01: Table 'v1' already exists +DROP VIEW v1; +DROP TABLE t1; +connection slave; +connection master; +CREATE TABLE t1 (a INT); +# create view as output from mysqldump 10.11 (5.0.62) +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ +/*!50001 VIEW `v1` AS select `t1`.`a` AS `a` from `t1` where (`t1`.`a` < 3) */ +/*!50002 WITH CASCADED CHECK OPTION */; +SHOW CREATE VIEW v1; +View Create View character_set_client collation_connection +v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `t1`.`a` AS `a` from `t1` where `t1`.`a` < 3 WITH CASCADED CHECK OPTION latin1 latin1_swedish_ci +connection slave; +SHOW CREATE VIEW v1; +View Create View character_set_client collation_connection +v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `t1`.`a` AS `a` from `t1` where `t1`.`a` < 3 WITH CASCADED CHECK OPTION latin1 latin1_swedish_ci +connection master; +DROP VIEW v1; +DROP TABLE t1; +connection slave; +End of 5.0 tests +include/rpl_end.inc diff --git a/mysql-test/suite/engines/funcs/r/se_join_cross.result b/mysql-test/suite/engines/funcs/r/se_join_cross.result new file mode 100644 index 00000000..9bd6252b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_cross.result @@ -0,0 +1,5365 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 CROSS JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 CROSS JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 CROSS JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 CROSS JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 CROSS JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_default.result b/mysql-test/suite/engines/funcs/r/se_join_default.result new file mode 100644 index 00000000..cc127102 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_default.result @@ -0,0 +1,7591 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 < t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 5 +4 6 +4 7 +4 8 +4 9 +5 6 +5 7 +5 8 +5 9 +6 7 +6 8 +6 9 +7 8 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 < t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 7 +5 9 +6 7 +6 9 +7 9 +8 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 < t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 < t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 < t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <= t2.c1; +c1 c1 +0 0 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 1 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 2 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 3 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 4 +4 5 +4 6 +4 7 +4 8 +4 9 +5 5 +5 6 +5 7 +5 8 +5 9 +6 6 +6 7 +6 8 +6 9 +7 7 +7 8 +7 9 +8 8 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <= t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 1 +1 3 +1 5 +1 7 +1 9 +2 3 +2 5 +2 7 +2 9 +3 3 +3 5 +3 7 +3 9 +4 5 +4 7 +4 9 +5 5 +5 7 +5 9 +6 7 +6 9 +7 7 +7 9 +8 9 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <= t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <= t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 = t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 = t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 = t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 >= t2.c1; +c1 c1 +0 0 +1 0 +1 1 +2 0 +2 1 +2 2 +3 0 +3 1 +3 2 +3 3 +4 0 +4 1 +4 2 +4 3 +4 4 +5 0 +5 1 +5 2 +5 3 +5 4 +5 5 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 6 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 7 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 8 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 >= t3.c1; +c1 c1 +1 1 +2 1 +3 1 +3 3 +4 1 +4 3 +5 1 +5 3 +5 5 +6 1 +6 3 +6 5 +7 1 +7 3 +7 5 +7 7 +8 1 +8 3 +8 5 +8 7 +9 1 +9 3 +9 5 +9 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 >= t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 >= t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 >= t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 != t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 != t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 != t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 != t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 != t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <> t2.c1; +c1 c1 +0 1 +0 2 +0 3 +0 4 +0 5 +0 6 +0 7 +0 8 +0 9 +1 0 +1 2 +1 3 +1 4 +1 5 +1 6 +1 7 +1 8 +1 9 +2 0 +2 1 +2 3 +2 4 +2 5 +2 6 +2 7 +2 8 +2 9 +3 0 +3 1 +3 2 +3 4 +3 5 +3 6 +3 7 +3 8 +3 9 +4 0 +4 1 +4 2 +4 3 +4 5 +4 6 +4 7 +4 8 +4 9 +5 0 +5 1 +5 2 +5 3 +5 4 +5 6 +5 7 +5 8 +5 9 +6 0 +6 1 +6 2 +6 3 +6 4 +6 5 +6 7 +6 8 +6 9 +7 0 +7 1 +7 2 +7 3 +7 4 +7 5 +7 6 +7 8 +7 9 +8 0 +8 1 +8 2 +8 3 +8 4 +8 5 +8 6 +8 7 +8 9 +9 0 +9 1 +9 2 +9 3 +9 4 +9 5 +9 6 +9 7 +9 8 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <> t3.c1; +c1 c1 +0 1 +0 3 +0 5 +0 7 +0 9 +1 3 +1 5 +1 7 +1 9 +2 1 +2 3 +2 5 +2 7 +2 9 +3 1 +3 5 +3 7 +3 9 +4 1 +4 3 +4 5 +4 7 +4 9 +5 1 +5 3 +5 7 +5 9 +6 1 +6 3 +6 5 +6 7 +6 9 +7 1 +7 3 +7 5 +7 9 +8 1 +8 3 +8 5 +8 7 +8 9 +9 1 +9 3 +9 5 +9 7 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <> t4.c1; +c1 c1 +0 10 +1 10 +2 10 +3 10 +4 10 +5 10 +6 10 +7 10 +8 10 +9 10 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <> t5.c1; +c1 c1 +0 10 +0 11 +0 12 +0 13 +0 14 +1 10 +1 11 +1 12 +1 13 +1 14 +2 10 +2 11 +2 12 +2 13 +2 14 +3 10 +3 11 +3 12 +3 13 +3 14 +4 10 +4 11 +4 12 +4 13 +4 14 +5 10 +5 11 +5 12 +5 13 +5 14 +6 10 +6 11 +6 12 +6 13 +6 14 +7 10 +7 11 +7 12 +7 13 +7 14 +8 10 +8 11 +8 12 +8 13 +8 14 +9 10 +9 11 +9 12 +9 13 +9 14 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1,t2 WHERE t1.c1 <=> t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1,t3 WHERE t1.c1 <=> t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1,t4 WHERE t1.c1 <=> t4.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1,t5 WHERE t1.c1 <=> t5.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1,t6 WHERE t1.c1 <=> t6.c1; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_inner.result b/mysql-test/suite/engines/funcs/r/se_join_inner.result new file mode 100644 index 00000000..262a9507 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_inner.result @@ -0,0 +1,5365 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 USING (c1); +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 INNER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 USING (c1); +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 INNER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 USING (c1); +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 INNER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 USING (c1); +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 INNER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_left.result b/mysql-test/suite/engines/funcs/r/se_join_left.result new file mode 100644 index 00000000..226c8c00 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_left.result @@ -0,0 +1,9061 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 USING (c1); +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 USING (c1); +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 USING (c1); +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_left_outer.result b/mysql-test/suite/engines/funcs/r/se_join_left_outer.result new file mode 100644 index 00000000..d5bef001 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_left_outer.result @@ -0,0 +1,6541 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 LEFT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 LEFT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 LEFT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 LEFT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_natural_left.result b/mysql-test/suite/engines/funcs/r/se_join_natural_left.result new file mode 100644 index 00000000..c0a6c1d4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_natural_left.result @@ -0,0 +1,6541 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_natural_left_outer.result b/mysql-test/suite/engines/funcs/r/se_join_natural_left_outer.result new file mode 100644 index 00000000..942f4c5a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_natural_left_outer.result @@ -0,0 +1,6541 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +6 NULL +7 7 +8 NULL +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +6 NULL +7 NULL +8 NULL +9 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL LEFT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3; +c1 c1 +0 NULL +1 1 +2 NULL +3 3 +4 NULL +5 5 +6 NULL +7 7 +8 NULL +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL LEFT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t4.c1 FROM t1 NATURAL LEFT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t5.c1 FROM t1 NATURAL LEFT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6; +c1 c1 +0 NULL +1 NULL +2 NULL +3 NULL +4 NULL +5 NULL +6 NULL +7 NULL +8 NULL +9 NULL +SELECT t1.c1,t6.c1 FROM t1 NATURAL LEFT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +5 NULL +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_natural_right.result b/mysql-test/suite/engines/funcs/r/se_join_natural_right.result new file mode 100644 index 00000000..dd5c2af6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_natural_right.result @@ -0,0 +1,4567 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_natural_right_outer.result b/mysql-test/suite/engines/funcs/r/se_join_natural_right_outer.result new file mode 100644 index 00000000..be476d16 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_natural_right_outer.result @@ -0,0 +1,4567 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 NATURAL RIGHT OUTER JOIN t2 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 NATURAL RIGHT OUTER JOIN t3 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 NATURAL RIGHT OUTER JOIN t4 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 NATURAL RIGHT OUTER JOIN t5 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 NATURAL RIGHT OUTER JOIN t6 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_right.result b/mysql-test/suite/engines/funcs/r/se_join_right.result new file mode 100644 index 00000000..72cdc7e8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_right.result @@ -0,0 +1,4567 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_right_outer.result b/mysql-test/suite/engines/funcs/r/se_join_right_outer.result new file mode 100644 index 00000000..ad41f441 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_right_outer.result @@ -0,0 +1,4567 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 RIGHT OUTER JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 RIGHT OUTER JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +NULL 10 +SELECT t1.c1,t4.c1 FROM t1 RIGHT OUTER JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +NULL 10 +NULL 11 +NULL 12 +NULL 13 +NULL 14 +SELECT t1.c1,t5.c1 FROM t1 RIGHT OUTER JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 RIGHT OUTER JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_join_straight.result b/mysql-test/suite/engines/funcs/r/se_join_straight.result new file mode 100644 index 00000000..d45ec7ef --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_join_straight.result @@ -0,0 +1,4315 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 < 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 < 5; +c1 c1 +1 1 +3 3 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 < 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <= 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <= 5; +c1 c1 +1 1 +3 3 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 = 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 = 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 >= 5; +c1 c1 +5 5 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 >= 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 != 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 != 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 != 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <> 5; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +6 6 +7 7 +8 8 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <> 5; +c1 c1 +1 1 +3 3 +7 7 +9 9 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1; +c1 c1 +0 0 +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +SELECT t1.c1,t2.c1 FROM t1 STRAIGHT_JOIN t2 ON t1.c1 = t2.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1; +c1 c1 +1 1 +3 3 +5 5 +7 7 +9 9 +SELECT t1.c1,t3.c1 FROM t1 STRAIGHT_JOIN t3 ON t1.c1 = t3.c1 WHERE t1.c1 <=> 5; +c1 c1 +5 5 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1; +c1 c1 +SELECT t1.c1,t4.c1 FROM t1 STRAIGHT_JOIN t4 ON t1.c1 = t4.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1; +c1 c1 +SELECT t1.c1,t5.c1 FROM t1 STRAIGHT_JOIN t5 ON t1.c1 = t5.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 TINYINT NOT NULL); +CREATE TABLE t2 (c1 TINYINT NOT NULL); +CREATE TABLE t3 (c1 TINYINT NOT NULL); +CREATE TABLE t4 (c1 TINYINT NOT NULL); +CREATE TABLE t5 (c1 TINYINT NOT NULL); +CREATE TABLE t6 (c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 SMALLINT NOT NULL); +CREATE TABLE t2 (c1 SMALLINT NOT NULL); +CREATE TABLE t3 (c1 SMALLINT NOT NULL); +CREATE TABLE t4 (c1 SMALLINT NOT NULL); +CREATE TABLE t5 (c1 SMALLINT NOT NULL); +CREATE TABLE t6 (c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t4 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t5 (c1 MEDIUMINT NOT NULL); +CREATE TABLE t6 (c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INT NOT NULL); +CREATE TABLE t2 (c1 INT NOT NULL); +CREATE TABLE t3 (c1 INT NOT NULL); +CREATE TABLE t4 (c1 INT NOT NULL); +CREATE TABLE t5 (c1 INT NOT NULL); +CREATE TABLE t6 (c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 INTEGER NOT NULL); +CREATE TABLE t2 (c1 INTEGER NOT NULL); +CREATE TABLE t3 (c1 INTEGER NOT NULL); +CREATE TABLE t4 (c1 INTEGER NOT NULL); +CREATE TABLE t5 (c1 INTEGER NOT NULL); +CREATE TABLE t6 (c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; +CREATE TABLE t1 (c1 BIGINT NOT NULL); +CREATE TABLE t2 (c1 BIGINT NOT NULL); +CREATE TABLE t3 (c1 BIGINT NOT NULL); +CREATE TABLE t4 (c1 BIGINT NOT NULL); +CREATE TABLE t5 (c1 BIGINT NOT NULL); +CREATE TABLE t6 (c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +INSERT INTO t3 (c1) VALUES(1),(3),(5),(7),(9); +INSERT INTO t4 (c1) VALUES(10); +INSERT INTO t5 (c1) VALUES(10),(11),(12),(13),(14); +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1; +c1 c1 +SELECT t1.c1,t6.c1 FROM t1 STRAIGHT_JOIN t6 ON t1.c1 = t6.c1 WHERE t1.c1 <=> 5; +c1 c1 +DROP TABLE t1,t2,t3,t4,t5,t6; diff --git a/mysql-test/suite/engines/funcs/r/se_rowid.result b/mysql-test/suite/engines/funcs/r/se_rowid.result new file mode 100644 index 00000000..5ea7cb6c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_rowid.result @@ -0,0 +1,97 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL, PRIMARY KEY(c1)); +INSERT INTO t1 VALUES(1),(2),(3),(5),(10),(9),(8),(7),(4),(-1),(-10); +SELECT _rowid FROM t1; +_rowid +-1 +-10 +1 +10 +2 +3 +4 +5 +7 +8 +9 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_distinct.result b/mysql-test/suite/engines/funcs/r/se_string_distinct.result new file mode 100644 index 00000000..59c49d18 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_distinct.result @@ -0,0 +1,9787 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT DISTINCT c1 FROM t1; +c1 +a +b +c +SELECT DISTINCT c2 FROM t1; +c2 +a +b +c +d +e +z +f +SELECT DISTINCT c3 FROM t1; +c3 +1 +2 +3 +4 +5 +6 +7 +9 +8 +SELECT DISTINCT c1,c3 FROM t1; +c1 c3 +a 1 +a 2 +a 3 +a 4 +a 5 +b 1 +b 6 +b 4 +b 5 +c 5 +c 7 +c 1 +c 9 +b 3 +c 3 +b 2 +c 2 +a 7 +b 7 +a 6 +c 6 +c 4 +a 9 +b 9 +a 8 +b 8 +c 8 +SELECT DISTINCT c1,c2,c3 FROM t1; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +b b 1 +c b 5 +a a 3 +b a 3 +c c 3 +b a 2 +c c 2 +a a 7 +b a 7 +a b 7 +a a 6 +b a 6 +c c 6 +a b 6 +a a 4 +b a 4 +c c 4 +a b 4 +a a 5 +b a 5 +c c 5 +a b 5 +a a 9 +b a 9 +c c 9 +a b 9 +a a 8 +b a 8 +c c 8 +a b 8 +SELECT DISTINCT c3,c2,c1 FROM t1; +c3 c2 c1 +1 a a +2 a a +3 b a +4 c a +5 d a +1 a b +6 c b +4 e b +5 z b +5 a c +7 c c +1 c c +9 d c +5 f c +1 b a +2 b a +3 b b +1 b b +5 b c +3 a a +3 a b +3 c c +2 a b +2 c c +7 a a +7 a b +7 b a +6 a a +6 a b +6 c c +6 b a +4 a a +4 a b +4 c c +4 b a +5 a a +5 a b +5 c c +5 b a +9 a a +9 a b +9 c c +9 b a +8 a a +8 a b +8 c c +8 b a +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2'; +c3 c2 c1 +SELECT DISTINCT c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 +SELECT DISTINCT c2 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c2 +SELECT DISTINCT c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 +SELECT DISTINCT c1,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c3 +SELECT DISTINCT c1,c2,c3 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c1 c2 c3 +SELECT DISTINCT c3,c2,c1 FROM t1 WHERE t1.c1='#C2' AND t1.c2='#C2'; +c3 c2 c1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_from.result b/mysql-test/suite/engines/funcs/r/se_string_from.result new file mode 100644 index 00000000..efd72d58 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_from.result @@ -0,0 +1,3277 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a'; +COUNT(*) +21870 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1; +COUNT(*) +4941 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1; +COUNT(*) +5751 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='a' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='a' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b'; +COUNT(*) +14580 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b'; +COUNT(*) +26730 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1; +COUNT(*) +4779 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1; +COUNT(*) +5589 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='b' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1134 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='b' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1215 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c'; +COUNT(*) +19440 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c'; +COUNT(*) +24300 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1; +COUNT(*) +6480 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='c' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +1944 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='c' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +1620 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d'; +COUNT(*) +9720 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1; +COUNT(*) +3078 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='d' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +648 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='d' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1; +COUNT(*) +1782 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='e' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='e' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f'; +COUNT(*) +4860 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1; +COUNT(*) +1620 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='f' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +324 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='f' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1,t1 AS b; +COUNT(*) +72900 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c2='y' AND t1.c1 = b.c1 AND t1.c2 = b.c2; +COUNT(*) +0 +SELECT COUNT(*) FROM t1,t1 AS b WHERE t1.c1='y' AND t1.c2 = b.c1 AND t1.c1 = b.c2; +COUNT(*) +0 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_groupby.result b/mysql-test/suite/engines/funcs/r/se_string_groupby.result new file mode 100644 index 00000000..68095af2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_groupby.result @@ -0,0 +1,6379 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +a 81 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +a a 18 9 +a b 27 9 +a c 18 4 +a d 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a a 18 9 +b a 27 9 +c a 18 4 +d a 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +b 99 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +b a 27 9 +b b 18 3 +b c 18 6 +b e 18 4 +b z 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a b 27 9 +b b 18 3 +c b 18 6 +e b 18 4 +z b 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +c 90 9 +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +c c 36 9 +c d 18 9 +c f 18 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +c c 36 9 +d c 18 9 +f c 18 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1; +c1 +a +b +c +SELECT c1,COUNT(*) FROM t1 GROUP BY c1; +c1 COUNT(*) +a 81 +b 99 +c 90 +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2; +c1 c2 +a a +a b +a c +a d +b a +b b +b c +b e +b z +c a +c b +c c +c d +c f +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2; +c1 c2 COUNT(*) +a a 18 +a b 27 +a c 18 +a d 18 +b a 27 +b b 18 +b c 18 +b e 18 +b z 18 +c a 9 +c b 9 +c c 36 +c d 18 +c f 18 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1; +c2 c1 +a a +a b +a c +b a +b b +b c +c a +c b +c c +d a +d c +e b +f c +z b +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1; +c2 c1 COUNT(*) +a a 18 +a b 27 +a c 9 +b a 27 +b b 18 +b c 9 +c a 18 +c b 18 +c c 36 +d a 18 +d c 18 +e b 18 +f c 18 +z b 18 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_having.result b/mysql-test/suite/engines/funcs/r/se_string_having.result new file mode 100644 index 00000000..6cf94bb9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_having.result @@ -0,0 +1,13993 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 1; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 1; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 1; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 2; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 2; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 2; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 3; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 3; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 3; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='a' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='b' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +c a 9 5 +c b 9 5 +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='c' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +a c 9 5 +b c 9 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='d' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='e' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='f' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT c1 FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 +SELECT c1,COUNT(*) FROM t1 GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1 HAVING COUNT(*) = 9; +c1 COUNT(*) MAX(c3) +SELECT c1,c2 FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 +c a +c b +SELECT c1,c2,COUNT(*) FROM t1 GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) +c a 9 +c b 9 +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c1,c2,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c1,c2 HAVING COUNT(*) = 9; +c1 c2 COUNT(*) MAX(c3) +SELECT c2,c1 FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 +a c +b c +SELECT c2,c1,COUNT(*) FROM t1 GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) +a c 9 +b c 9 +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +SELECT c2,c1,COUNT(*),MAX(c3) FROM t1 WHERE c1='y' OR c2 = '#C2' GROUP BY c2,c1 HAVING COUNT(*) = 9; +c2 c1 COUNT(*) MAX(c3) +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_limit.result b/mysql-test/suite/engines/funcs/r/se_string_limit.result new file mode 100644 index 00000000..4f54aae7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_limit.result @@ -0,0 +1,14659 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 1; +c1 c2 c3 +a a 1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='b' LIMIT 1; +c1 c2 c3 +b a 1 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 1; +c1 c2 c3 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='c' LIMIT 1; +c1 c2 c3 +c a 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 1; +c1 c2 c3 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='d' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='e' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='f' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 1; +c1 c2 c3 +a a 1 +SELECT * FROM t1 WHERE c1='y' LIMIT 1; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 1; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 5; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 5; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 5; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 5; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 5; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 5; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 5; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +a b 1 +a b 2 +a c 4 +a d 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +a b 3 +a b 2 +a c 4 +a d 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +a b 2 +a b 2 +a c 4 +a d 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +a b 7 +a b 2 +a c 4 +a d 5 +a a 6 +a a 2 +a b 3 +a c 4 +a d 5 +a b 6 +a b 2 +a c 4 +a d 5 +a a 4 +a a 2 +a b 3 +a c 4 +a d 5 +a b 4 +a b 2 +a c 4 +a d 5 +a a 5 +a a 2 +a b 3 +a c 4 +a d 5 +a b 5 +a b 2 +a c 4 +a d 5 +a a 9 +a a 2 +a b 3 +a c 4 +a d 5 +a b 9 +a b 2 +a c 4 +a d 5 +a a 8 +a a 2 +a b 3 +a c 4 +a d 5 +a b 8 +a b 2 +a c 4 +a d 5 +SELECT * FROM t1 WHERE c1='a' AND c2 = 'a' LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a a 3 +a a 2 +a a 2 +a a 2 +a a 7 +a a 2 +a a 6 +a a 2 +a a 4 +a a 2 +a a 5 +a a 2 +a a 9 +a a 2 +a a 8 +a a 2 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' LIMIT 100; +c1 c2 c3 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 7 +b c 6 +b e 4 +b z 5 +b a 1 +b a 6 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 6 +b c 6 +b e 4 +b z 5 +b a 1 +b a 4 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 4 +b c 6 +b e 4 +b z 5 +b a 1 +b a 5 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 5 +b c 6 +b e 4 +b z 5 +b a 1 +b a 9 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 9 +b c 6 +b e 4 +b z 5 +b a 1 +b a 8 +b c 6 +b e 4 +b z 5 +b b 3 +b b 1 +b a 8 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='b' AND c2 = 'b' LIMIT 100; +c1 c2 c3 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +b b 3 +b b 1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='c' LIMIT 100; +c1 c2 c3 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +c a 5 +c c 7 +c c 7 +c d 9 +c f 5 +c b 5 +c c 7 +c c 7 +c d 9 +c f 5 +c a 5 +c c 7 +c c 6 +c d 9 +c f 5 +c b 5 +c c 7 +c c 6 +c d 9 +c f 5 +c a 5 +c c 7 +c c 4 +c d 9 +c f 5 +c b 5 +c c 7 +c c 4 +c d 9 +c f 5 +c a 5 +c c 7 +c c 5 +c d 9 +c f 5 +c b 5 +c c 7 +c c 5 +c d 9 +c f 5 +c a 5 +c c 7 +c c 9 +c d 9 +c f 5 +c b 5 +c c 7 +c c 9 +c d 9 +c f 5 +c a 5 +c c 7 +c c 8 +c d 9 +c f 5 +c b 5 +c c 7 +c c 8 +c d 9 +c f 5 +SELECT * FROM t1 WHERE c1='c' AND c2 = 'c' LIMIT 100; +c1 c2 c3 +c c 7 +c c 1 +c c 7 +c c 1 +c c 7 +c c 3 +c c 7 +c c 3 +c c 7 +c c 2 +c c 7 +c c 2 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 7 +c c 6 +c c 7 +c c 4 +c c 7 +c c 4 +c c 7 +c c 5 +c c 7 +c c 5 +c c 7 +c c 9 +c c 7 +c c 9 +c c 7 +c c 8 +c c 7 +c c 8 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='d' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='d' AND c2 = 'd' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='e' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='e' AND c2 = 'e' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='f' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='f' AND c2 = 'f' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 LIMIT 100; +c1 c2 c3 +a a 1 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 1 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 1 +c d 9 +c f 5 +a b 1 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 1 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 1 +c d 9 +c f 5 +a a 3 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 3 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 3 +c d 9 +c f 5 +a b 3 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 3 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 3 +c d 9 +c f 5 +a a 2 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 2 +b c 6 +b e 4 +b z 5 +c a 5 +c c 7 +c c 2 +c d 9 +c f 5 +a b 2 +a b 2 +b b 3 +a c 4 +a d 5 +b b 1 +b a 2 +b c 6 +b e 4 +b z 5 +c b 5 +c c 7 +c c 2 +c d 9 +c f 5 +a a 7 +a a 2 +a b 3 +a c 4 +a d 5 +b a 1 +b a 7 +b c 6 +b e 4 +b z 5 +SELECT * FROM t1 WHERE c1='y' LIMIT 100; +c1 c2 c3 +SELECT * FROM t1 WHERE c1='y' AND c2 = 'y' LIMIT 100; +c1 c2 c3 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_orderby.result b/mysql-test/suite/engines/funcs/r/se_string_orderby.result new file mode 100644 index 00000000..b855015b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_orderby.result @@ -0,0 +1,5695 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='a' ORDER BY c1,c2,c3; +c1 c2 c3 +a a 1 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 3 +a a 4 +a a 5 +a a 6 +a a 7 +a a 8 +a a 9 +a b 1 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 4 +a b 5 +a b 6 +a b 7 +a b 8 +a b 9 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +SELECT * FROM t1 WHERE c2='a' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a a 9 +a a 8 +a a 7 +a a 6 +a a 5 +a a 4 +a a 3 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 2 +a a 1 +b a 9 +b a 9 +b a 8 +b a 8 +b a 7 +b a 7 +b a 6 +b a 6 +b a 5 +b a 5 +b a 4 +b a 4 +b a 3 +b a 3 +b a 2 +b a 2 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='b' ORDER BY c1,c2,c3; +c1 c2 c3 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 1 +b a 2 +b a 2 +b a 3 +b a 3 +b a 4 +b a 4 +b a 5 +b a 5 +b a 6 +b a 6 +b a 7 +b a 7 +b a 8 +b a 8 +b a 9 +b a 9 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +b z 5 +SELECT * FROM t1 WHERE c2='b' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a b 9 +a b 8 +a b 7 +a b 6 +a b 5 +a b 4 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 3 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 2 +a b 1 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 3 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +b b 1 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='c' ORDER BY c1,c2,c3; +c1 c2 c3 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c a 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c b 5 +c c 1 +c c 1 +c c 2 +c c 2 +c c 3 +c c 3 +c c 4 +c c 4 +c c 5 +c c 5 +c c 6 +c c 6 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 8 +c c 8 +c c 9 +c c 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +SELECT * FROM t1 WHERE c2='c' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +a c 4 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +b c 6 +c c 9 +c c 9 +c c 8 +c c 8 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 7 +c c 6 +c c 6 +c c 5 +c c 5 +c c 4 +c c 4 +c c 3 +c c 3 +c c 2 +c c 2 +c c 1 +c c 1 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='d' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='d' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +a d 5 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +c d 9 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='e' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='e' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +b e 4 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='f' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='f' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +c f 5 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT * FROM t1 WHERE c1='y' ORDER BY c1,c2,c3; +c1 c2 c3 +SELECT * FROM t1 WHERE c2='y' ORDER BY c2,c1,c3 DESC; +c1 c2 c3 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_union.result b/mysql-test/suite/engines/funcs/r/se_string_union.result new file mode 100644 index 00000000..4bb4e2a2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_union.result @@ -0,0 +1,4453 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +CREATE TABLE t2(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +TRUNCATE TABLE t2; +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',4), ('a','c',2), ('c','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',4); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',3), ('a','c',2), ('c','b',3), ('a','c',3), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',3), ('b','c',6), ('b','e',3), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',3); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',2), ('a','c',2), ('c','b',3), ('a','c',2), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',2), ('b','c',6), ('b','e',2), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',2); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +INSERT INTO t2 (c1,c2,c3) VALUES ('a','c',1), ('a','c',2), ('c','b',3), ('a','c',1), ('a','d',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('b','c',1), ('b','a',1), ('b','c',6), ('b','e',1), ('b','z',5); +INSERT INTO t2 (c1,c2,c3) VALUES ('c','c',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',1); +SELECT c1 FROM t1 UNION SELECT c1 FROM t2; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1='#C2' ; +c1 +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c1 !='#C2' ; +c1 +a +b +c +SELECT c1 FROM t1 WHERE c1='#C2' UNION SELECT c2 FROM t1 WHERE c1='#C2' UNION SELECT c1 FROM t2 WHERE c2 ='#C2' ; +c1 +DROP TABLE t1,t2; diff --git a/mysql-test/suite/engines/funcs/r/se_string_where.result b/mysql-test/suite/engines/funcs/r/se_string_where.result new file mode 100644 index 00000000..cd241a5c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_where.result @@ -0,0 +1,2773 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='a'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='a'; +COUNT(*) +81 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='b'; +COUNT(*) +54 +SELECT COUNT(*) FROM t1 WHERE c1='b'; +COUNT(*) +99 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='c'; +COUNT(*) +72 +SELECT COUNT(*) FROM t1 WHERE c1='c'; +COUNT(*) +90 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='d'; +COUNT(*) +36 +SELECT COUNT(*) FROM t1 WHERE c1='d'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='e'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='f'; +COUNT(*) +18 +SELECT COUNT(*) FROM t1 WHERE c1='f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c2='y'; +COUNT(*) +0 +SELECT COUNT(*) FROM t1 WHERE c1='y'; +COUNT(*) +0 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_where_and.result b/mysql-test/suite/engines/funcs/r/se_string_where_and.result new file mode 100644 index 00000000..718958d9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_where_and.result @@ -0,0 +1,2647 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' AND c2 = 'a'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' AND c2 = 'b'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' AND c2 = 'c'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' AND c2 = 'd'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' AND c2 = 'e'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' AND c2 = 'f'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' AND c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/se_string_where_or.result b/mysql-test/suite/engines/funcs/r/se_string_where_or.result new file mode 100644 index 00000000..739418d7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/se_string_where_or.result @@ -0,0 +1,2647 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='a' OR c2 = 'a'; +COUNT(*) +117 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='b' OR c2 = 'b'; +COUNT(*) +135 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='c' OR c2 = 'c'; +COUNT(*) +126 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='d' OR c2 = 'd'; +COUNT(*) +36 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='e' OR c2 = 'e'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='f' OR c2 = 'f'; +COUNT(*) +18 +DROP TABLE t1; +CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL); +TRUNCATE TABLE t1; +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',1), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',1), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',1), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',1), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',3), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',3), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',3), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',3), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',2), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',2), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',2), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',2), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',7), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',7), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',7), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',7), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',6), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',6), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',6), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',6), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',4), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',4), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',4), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',4), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',5), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',5), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',5), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',5), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',9), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',9), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',9), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',9), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','a',8), ('a','a',2), ('a','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','a',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','a',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('a','b',8), ('a','b',2), ('b','b',3), ('a','c',4), ('a','d',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('b','b',1), ('b','a',8), ('b','c',6), ('b','e',4), ('b','z',5); +INSERT INTO t1 (c1,c2,c3) VALUES ('c','b',5), ('c','c',7), ('c','c',8), ('c','d',9), ('c','f',5); +SELECT COUNT(*) FROM t1; +COUNT(*) +270 +SELECT COUNT(*) FROM t1 WHERE c1='y' OR c2 = 'y'; +COUNT(*) +0 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/sf_alter.result b/mysql-test/suite/engines/funcs/r/sf_alter.result new file mode 100644 index 00000000..e89f529b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sf_alter.result @@ -0,0 +1,7682 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +DROP FUNCTION IF EXISTS sf1; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY INVOKER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# NO SQL SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 #DET# MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY DEFINER ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# NO SQL SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +ALTER FUNCTION sf1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/sf_cursor.result b/mysql-test/suite/engines/funcs/r/sf_cursor.result new file mode 100644 index 00000000..2fe2171b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sf_cursor.result @@ -0,0 +1,129 @@ +DROP TABLE IF EXISTS t1,t2,t3,t4; +DROP FUNCTION IF EXISTS sf1; +CREATE TABLE t1 (id INTEGER NULL , data INTEGER NULL, KEY(id)); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NULL, data INTEGER NULL, KEY(id)); +CREATE TABLE t4 (i INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE FUNCTION sf1() RETURNS INTEGER +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +RETURN 0; +END// +SELECT sf1(); +sf1() +0 +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +INSERT INTO t4 VALUES(sf1()); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +2 1 +2 1 +3 3 +3 3 +UPDATE t4 SET i = sf1() + 1 WHERE i = sf1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +DELETE FROM t4 WHERE i = sf1() + 1; +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +1 1 +1 1 +1 1 +1 1 +2 1 +2 1 +2 1 +2 1 +2 1 +3 3 +3 3 +3 3 +3 3 +3 3 +DROP FUNCTION sf1; +DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/suite/engines/funcs/r/sf_simple1.result b/mysql-test/suite/engines/funcs/r/sf_simple1.result new file mode 100644 index 00000000..f30d5f26 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sf_simple1.result @@ -0,0 +1,4502 @@ +DROP TABLE IF EXISTS t1,t2; +DROP FUNCTION IF EXISTS sf1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +CREATE FUNCTION sf1 (p1 BIGINT) RETURNS BIGINT LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +DECLARE ret INT DEFAULT 0; +SELECT c1*2 INTO ret FROM t1 WHERE c1 = p1; +RETURN ret; +END// +INSERT INTO t2 VALUES(1,sf1(1)), (2,sf1(2)); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 2 +2 4 +UPDATE t2 SET c2 = sf1(2) WHERE c1 = 1; +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +2 4 +DELETE FROM t2 WHERE c1 = sf1(1); +SELECT * FROM t2 ORDER BY c1; +c1 c2 +1 4 +DROP FUNCTION sf1; +DROP TABLE t1,t2; diff --git a/mysql-test/suite/engines/funcs/r/sp_alter.result b/mysql-test/suite/engines/funcs/r/sp_alter.result new file mode 100644 index 00000000..22036fec --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sp_alter.result @@ -0,0 +1,2942 @@ +DROP TABLE IF EXISTS t1,t2,t3; +DROP PROCEDURE IF EXISTS sp1; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY INVOKER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# NO SQL SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 #DET# MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY DEFINER ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# NO SQL SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +ALTER PROCEDURE sp1 LANGUAGE SQL #DET# MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' ; +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/sp_cursor.result b/mysql-test/suite/engines/funcs/r/sp_cursor.result new file mode 100644 index 00000000..6ce2aae0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sp_cursor.result @@ -0,0 +1,50 @@ +DROP TABLE IF EXISTS t1,t2,t3; +DROP PROCEDURE IF EXISTS sp1; +CREATE TABLE t1 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +CREATE TABLE t2 (i INTEGER NULL); +CREATE TABLE t3 (id INTEGER NOT NULL PRIMARY KEY, data INTEGER NULL); +INSERT INTO t1 VALUES(1,1),(2,1),(3,4),(4,5); +INSERT INTO t2 VALUES(1),(2),(3); +CREATE PROCEDURE sp1() +BEGIN +DECLARE done INT DEFAULT 0; +DECLARE a CHAR(16); +DECLARE b,c INT; +DECLARE cur1 CURSOR FOR SELECT id,data FROM t1; +DECLARE cur2 CURSOR FOR SELECT i FROM t2; +DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; +OPEN cur1; +OPEN cur2; +REPEAT +FETCH cur1 INTO a, b; +FETCH cur2 INTO c; +IF NOT done THEN +IF b < c THEN +INSERT INTO t3 VALUES (a,b); +ELSE +INSERT INTO t3 VALUES (a,c); +END IF; +END IF; +UNTIL done END REPEAT; +CLOSE cur1; +CLOSE cur2; +END// +CALL sp1(); +SELECT * FROM t1 ORDER BY id; +id data +1 1 +2 1 +3 4 +4 5 +SELECT * FROM t2 ORDER BY i; +i +1 +2 +3 +SELECT * FROM t3 ORDER BY id; +id data +1 1 +2 1 +3 3 +DROP PROCEDURE sp1; +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/sp_simple1.result b/mysql-test/suite/engines/funcs/r/sp_simple1.result new file mode 100644 index 00000000..0ee8a42c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sp_simple1.result @@ -0,0 +1,1622 @@ +DROP TABLE IF EXISTS t1; +DROP PROCEDURE IF EXISTS sp1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL NOT DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE PROCEDURE sp1 (OUT p1 BIGINT, IN p2 BIGINT) LANGUAGE SQL DETERMINISTIC MODIFIES SQL DATA SQL SECURITY DEFINER COMMENT 'comment' +BEGIN +SELECT COUNT(*) INTO p1 FROM t1 WHERE c1 = p2; +END// +CALL sp1(@a,1); +DROP PROCEDURE sp1; +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/sq_all.result b/mysql-test/suite/engines/funcs/r/sq_all.result new file mode 100644 index 00000000..24e62a3f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_all.result @@ -0,0 +1,86 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_any.result b/mysql-test/suite/engines/funcs/r/sq_any.result new file mode 100644 index 00000000..606b5900 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_any.result @@ -0,0 +1,130 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ANY (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ANY (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ANY (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ANY (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> ANY (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_corr.result b/mysql-test/suite/engines/funcs/r/sq_corr.result new file mode 100644 index 00000000..3d775923 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_corr.result @@ -0,0 +1,57 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2 WHERE t2.c2 = +t1.c2); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2 WHERE t2.c2 = +t1.c2); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2 WHERE t2.c2 = +t1.c2); +c1 c2 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c1 = ANY (SELECT c1 FROM t2 WHERE t2.c2 = +t1.c2); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_error.result b/mysql-test/suite/engines/funcs/r/sq_error.result new file mode 100644 index 00000000..6b00bf6c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_error.result @@ -0,0 +1,70 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100),c3 FLOAT); +INSERT INTO t1 VALUES (null,null,0.0); +INSERT INTO t1 VALUES (1,'',1.0); +INSERT INTO t1 VALUES (2,'abcde',2.0); +INSERT INTO t1 VALUES (100,'abcdefghij',3.0); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c2 IN (SELECT c2 FROM t2 ORDER BY c1 LIMIT 1) +--error 1241 +SELECT (SELECT c1, c2 FROM t2) FROM t1; +ERROR 42000: This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' +SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2); +ERROR 21000: Subquery returns more than 1 row +UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2); +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100),c3 FLOAT); +INSERT INTO t1 VALUES (null,null,0.0); +INSERT INTO t1 VALUES (1,'',1.0); +INSERT INTO t1 VALUES (2,'abcde',2.0); +INSERT INTO t1 VALUES (100,'abcdefghij',3.0); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c2 IN (SELECT c2 FROM t2 ORDER BY c1 LIMIT 1) +--error 1241 +SELECT (SELECT c1, c2 FROM t2) FROM t1; +ERROR 42000: This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' +SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2); +ERROR 21000: Subquery returns more than 1 row +UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2); +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100),c3 FLOAT); +INSERT INTO t1 VALUES (null,null,0.0); +INSERT INTO t1 VALUES (1,'',1.0); +INSERT INTO t1 VALUES (2,'abcde',2.0); +INSERT INTO t1 VALUES (100,'abcdefghij',3.0); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c2 IN (SELECT c2 FROM t2 ORDER BY c1 LIMIT 1) +--error 1241 +SELECT (SELECT c1, c2 FROM t2) FROM t1; +ERROR 42000: This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' +SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2); +ERROR 21000: Subquery returns more than 1 row +UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2); +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100),c3 FLOAT); +INSERT INTO t1 VALUES (null,null,0.0); +INSERT INTO t1 VALUES (1,'',1.0); +INSERT INTO t1 VALUES (2,'abcde',2.0); +INSERT INTO t1 VALUES (100,'abcdefghij',3.0); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE c2 IN (SELECT c2 FROM t2 ORDER BY c1 LIMIT 1) +--error 1241 +SELECT (SELECT c1, c2 FROM t2) FROM t1; +ERROR 42000: This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' +SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2); +ERROR 21000: Subquery returns more than 1 row +UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2); +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_exists.result b/mysql-test/suite/engines/funcs/r/sq_exists.result new file mode 100644 index 00000000..c8c9a2c3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_exists.result @@ -0,0 +1,110 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT c1 FROM t1 WHERE EXISTS (SELECT 1); +c1 +NULL +1 +2 +100 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT 1); +c1 +SELECT c1 FROM t1 WHERE EXISTS (SELECT * FROM t2 WHERE t1.c2 = t2.c2); +c1 +2 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT * FROM t2 WHERE t1.c2 = +t2.c2); +c1 +NULL +1 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT c1 FROM t1 WHERE EXISTS (SELECT 1); +c1 +NULL +1 +2 +100 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT 1); +c1 +SELECT c1 FROM t1 WHERE EXISTS (SELECT * FROM t2 WHERE t1.c2 = t2.c2); +c1 +2 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT * FROM t2 WHERE t1.c2 = +t2.c2); +c1 +NULL +1 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT c1 FROM t1 WHERE EXISTS (SELECT 1); +c1 +NULL +1 +2 +100 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT 1); +c1 +SELECT c1 FROM t1 WHERE EXISTS (SELECT * FROM t2 WHERE t1.c2 = t2.c2); +c1 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT * FROM t2 WHERE t1.c2 = +t2.c2); +c1 +NULL +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT c1 FROM t1 WHERE EXISTS (SELECT 1); +c1 +NULL +1 +2 +100 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT 1); +c1 +SELECT c1 FROM t1 WHERE EXISTS (SELECT * FROM t2 WHERE t1.c2 = t2.c2); +c1 +2 +SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT * FROM t2 WHERE t1.c2 = +t2.c2); +c1 +NULL +1 +100 +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_from.result b/mysql-test/suite/engines/funcs/r/sq_from.result new file mode 100644 index 00000000..19a8d426 Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/sq_from.result differ diff --git a/mysql-test/suite/engines/funcs/r/sq_in.result b/mysql-test/suite/engines/funcs/r/sq_in.result new file mode 100644 index 00000000..25b05c70 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_in.result @@ -0,0 +1,70 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 IN (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 NOT IN (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 IN (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 NOT IN (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 IN (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 NOT IN (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 IN (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 NOT IN (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_row.result b/mysql-test/suite/engines/funcs/r/sq_row.result new file mode 100644 index 00000000..ec149f63 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_row.result @@ -0,0 +1,72 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE (c1,c2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +2 abcde +SELECT * FROM t1 WHERE ROW(1,2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +SELECT * FROM t1 WHERE (c1,c2) = (2,'abcde'); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE (c1,c2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +2 abcde +SELECT * FROM t1 WHERE ROW(1,2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +SELECT * FROM t1 WHERE (c1,c2) = (2,'abcde'); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE (c1,c2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +SELECT * FROM t1 WHERE ROW(1,2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +SELECT * FROM t1 WHERE (c1,c2) = (2,'abcde'); +c1 c2 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t2 VALUES (1,'abcde'); +INSERT INTO t2 VALUES (2,'abcde'); +SELECT * FROM t1 WHERE (c1,c2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +2 abcde +SELECT * FROM t1 WHERE ROW(1,2) = (SELECT c1, c2 FROM t2 WHERE c1=2); +c1 c2 +SELECT * FROM t1 WHERE (c1,c2) = (2,'abcde'); +c1 c2 +2 abcde +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/sq_scalar.result b/mysql-test/suite/engines/funcs/r/sq_scalar.result new file mode 100644 index 00000000..869f42bc Binary files /dev/null and b/mysql-test/suite/engines/funcs/r/sq_scalar.result differ diff --git a/mysql-test/suite/engines/funcs/r/sq_some.result b/mysql-test/suite/engines/funcs/r/sq_some.result new file mode 100644 index 00000000..0a1bbe62 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_some.result @@ -0,0 +1,130 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > SOME (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > SOME (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > SOME (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > SOME (SELECT c1 FROM t2); +c1 +100 +SELECT c1 FROM t1 WHERE c1 >= SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 = SOME (SELECT c1 FROM t2); +c1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <= SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +SELECT c1 FROM t1 WHERE c1 <> SOME (SELECT c1 FROM t2); +c1 +1 +2 +100 +DROP TABLE t1; +DROP TABLE t2; diff --git a/mysql-test/suite/engines/funcs/r/ta_2part_column_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_2part_column_to_pk.result new file mode 100644 index 00000000..43178243 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_2part_column_to_pk.result @@ -0,0 +1,385 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_2part_diff_string_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_2part_diff_string_to_pk.result new file mode 100644 index 00000000..37a0b81f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_2part_diff_string_to_pk.result @@ -0,0 +1,449 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 CHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 CHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 CHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 CHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 VARCHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARCHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 VARCHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARCHAR(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 BINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 BINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 BINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 BINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 VARBINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARBINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 VARBINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARBINARY(20) NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_2part_diff_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_2part_diff_to_pk.result new file mode 100644 index 00000000..ec163b21 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_2part_diff_to_pk.result @@ -0,0 +1,7169 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 BIT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 TINYINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 SMALLINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 MEDIUMINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 INT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 INTEGER NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 BIGINT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 REAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 DOUBLE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 FLOAT NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` float NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 DECIMAL NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 NUMERIC NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 DATE NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` date NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 TIME NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` time NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 TIMESTAMP NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` timestamp NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 INT NULL, c4 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_2part_string_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_2part_string_to_pk.result new file mode 100644 index 00000000..ce78edaa --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_2part_string_to_pk.result @@ -0,0 +1,97 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_3part_column_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_3part_column_to_pk.result new file mode 100644 index 00000000..dda36fa2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_3part_column_to_pk.result @@ -0,0 +1,417 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`,`c2`,`c3`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_3part_string_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_3part_string_to_pk.result new file mode 100644 index 00000000..0e62a37f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_3part_string_to_pk.result @@ -0,0 +1,105 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 CHAR(20) NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(20) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARCHAR(20) NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(20) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 BINARY(20) NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(20) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARBINARY(20) NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1,c2); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(20) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`,`c2`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column.result b/mysql-test/suite/engines/funcs/r/ta_add_column.result new file mode 100644 index 00000000..43212cec --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column.result @@ -0,0 +1,25345 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column2.result b/mysql-test/suite/engines/funcs/r/ta_add_column2.result new file mode 100644 index 00000000..9ff60120 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column2.result @@ -0,0 +1,4225 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL, + `c2` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column_first.result b/mysql-test/suite/engines/funcs/r/ta_add_column_first.result new file mode 100644 index 00000000..a968cf4d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column_first.result @@ -0,0 +1,24289 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column_first2.result b/mysql-test/suite/engines/funcs/r/ta_add_column_first2.result new file mode 100644 index 00000000..0810d21c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column_first2.result @@ -0,0 +1,4225 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bit(1) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyint(4) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 SMALLINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` smallint(6) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumint(9) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 INTEGER NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` int(11) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BIGINT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` bigint(20) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 REAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DOUBLE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` double NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 FLOAT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` float NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DECIMAL NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 NUMERIC NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` decimal(10,0) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 DATE NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` date NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIME NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` time NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NULL DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NULL DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NULL DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NULL DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TIMESTAMP NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` timestamp NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 YEAR NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` year(4) NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinyblob NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 BLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` blob NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumblob NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGBLOB NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longblob NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TINYTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` tinytext NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 TEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` text NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 MEDIUMTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` mediumtext NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` char(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` varchar(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` binary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext DEFAULT NULL, + `c1` varbinary(15) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` char(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` varchar(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` binary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c2 LONGTEXT NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c2` longtext NOT NULL, + `c1` varbinary(15) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column_middle.result b/mysql-test/suite/engines/funcs/r/ta_add_column_middle.result new file mode 100644 index 00000000..5473812d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column_middle.result @@ -0,0 +1,32257 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` bit(1) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` bit(1) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` bit(1) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` bit(1) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` bit(1) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` bit(1) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` bit(1) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` bit(1) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` bit(1) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` bit(1) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` bit(1) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` bit(1) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` bit(1) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` bit(1) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` int(11) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` int(11) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` int(11) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` int(11) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` int(11) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` int(11) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` int(11) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` int(11) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` int(11) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` int(11) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` int(11) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` int(11) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` int(11) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` int(11) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` int(11) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` int(11) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` int(11) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` int(11) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` int(11) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` int(11) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` int(11) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` int(11) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` int(11) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` int(11) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` int(11) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` int(11) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` int(11) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` int(11) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` int(11) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` int(11) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` int(11) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` int(11) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` int(11) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` int(11) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` double NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` double NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` double NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` double NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` double NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` double NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` double NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` double NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` double NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` double NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` double NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` double NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` double NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` double NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` double NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` double NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` double NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` double NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` double NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` double NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` double DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` double NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` double NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` double NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` double NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` double NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` double NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` double NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` double NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` double NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` double NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` double NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` double NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` double NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` double NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` double NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` double NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` double NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` double NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` double NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` double NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` float DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` float NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` float NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` float NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` float NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` float NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` float NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` float NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` float NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` float NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` float NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` float NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` float NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` float NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` float NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` float NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` float NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` float NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` float NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` float NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` float NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` float NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` date DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` date NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` date NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` date NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` date NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` date NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` date NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` date NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` date NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` date NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` date NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` date NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` date NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` date NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` date NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` date NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` date NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` date NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` date NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` date NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` date NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` date NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` time DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` time NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` time NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` time NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` time NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` time NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` time NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` time NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` time NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` time NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` time NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` time NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` time NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` time NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` time NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` time NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` time NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` time NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` time NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` time NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` time NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` time NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` timestamp NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` timestamp NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` timestamp NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` timestamp NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` timestamp NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` timestamp NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` timestamp NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` timestamp NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` timestamp NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` timestamp NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` timestamp NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` timestamp NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` timestamp NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` timestamp NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` timestamp NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` timestamp NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` timestamp NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` timestamp NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` timestamp NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` timestamp NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` timestamp NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` year(4) DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` year(4) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` year(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` year(4) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` year(4) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` year(4) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` year(4) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` year(4) NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` year(4) NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` year(4) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` year(4) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` year(4) NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` year(4) NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` year(4) NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` year(4) NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` year(4) NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` year(4) NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` year(4) NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` year(4) NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` year(4) NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` year(4) NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` year(4) NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinyblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinyblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` tinyblob NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` tinyblob NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` tinyblob NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` tinyblob NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` tinyblob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` tinyblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` tinyblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` tinyblob NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` tinyblob NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` tinyblob NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` tinyblob NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` blob DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` blob NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` blob NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` blob NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` blob NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` blob NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` blob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` blob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` blob NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` blob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` blob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` blob NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` blob NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` blob NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` blob NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` blob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` blob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` blob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` blob NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` blob NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` blob NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` blob NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` mediumblob NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` mediumblob NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` mediumblob NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` mediumblob NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` mediumblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` mediumblob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` mediumblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` mediumblob NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` mediumblob NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` mediumblob NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` mediumblob NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` longblob DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` longblob NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` longblob NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` longblob NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` longblob NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` longblob NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` longblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` longblob NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` longblob NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` longblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` longblob NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` longblob NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` longblob NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` longblob NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` longblob NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` longblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` longblob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` longblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` longblob NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` longblob NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` longblob NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` longblob NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` tinytext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` tinytext NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` tinytext NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` tinytext NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` tinytext NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` tinytext NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinytext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` tinytext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` tinytext NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinytext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` tinytext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` tinytext NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` tinytext NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` tinytext NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` tinytext NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` tinytext NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` tinytext NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` tinytext NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` tinytext NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` tinytext NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` tinytext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` tinytext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` text DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` text NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` text NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` text NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` text NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` text NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` text NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` text NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` text NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` text NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` text NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` text NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` text NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` text NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` text NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` text NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` text NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` text NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` text NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` text NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` text NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` text NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumtext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` mediumtext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` mediumtext NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` mediumtext NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` mediumtext NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` mediumtext NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` mediumtext NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` mediumtext NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` mediumtext NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` mediumtext NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` mediumtext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` mediumtext NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` mediumtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NULL, c3 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NULL, c3 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NULL, c3 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NULL, c3 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NULL, c3 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NULL, c3 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NULL, c3 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NULL, c3 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NULL, c3 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NULL, c3 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NULL, c3 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NULL, c3 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NULL, c3 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NULL DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NULL, c3 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NULL, c3 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NULL, c3 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NULL, c3 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NULL, c3 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NULL, c3 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NULL, c3 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NULL, c3 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NULL, c3 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext DEFAULT NULL, + `c4` longtext DEFAULT NULL, + `c3` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIT NOT NULL, c3 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bit(1) NOT NULL, + `c4` longtext NOT NULL, + `c3` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c4` longtext NOT NULL, + `c3` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` smallint(6) NOT NULL, + `c4` longtext NOT NULL, + `c3` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c4` longtext NOT NULL, + `c3` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` bigint(20) NOT NULL, + `c4` longtext NOT NULL, + `c3` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 REAL NOT NULL, c3 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` longtext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` double NOT NULL, + `c4` longtext NOT NULL, + `c3` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` float NOT NULL, + `c4` longtext NOT NULL, + `c3` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` longtext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` decimal(10,0) NOT NULL, + `c4` longtext NOT NULL, + `c3` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 DATE NOT NULL, c3 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` date NOT NULL, + `c4` longtext NOT NULL, + `c3` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIME NOT NULL, c3 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` time NOT NULL, + `c4` longtext NOT NULL, + `c3` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` timestamp NOT NULL, + `c4` longtext NOT NULL, + `c3` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 YEAR NOT NULL, c3 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` year(4) NOT NULL, + `c4` longtext NOT NULL, + `c3` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYBLOB NOT NULL, c3 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinyblob NOT NULL, + `c4` longtext NOT NULL, + `c3` tinyblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 BLOB NOT NULL, c3 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` blob NOT NULL, + `c4` longtext NOT NULL, + `c3` blob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMBLOB NOT NULL, c3 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumblob NOT NULL, + `c4` longtext NOT NULL, + `c3` mediumblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGBLOB NOT NULL, c3 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longblob NOT NULL, + `c4` longtext NOT NULL, + `c3` longblob NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TINYTEXT NOT NULL, c3 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` tinytext NOT NULL, + `c4` longtext NOT NULL, + `c3` tinytext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 TEXT NOT NULL, c3 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` text NOT NULL, + `c4` longtext NOT NULL, + `c3` text NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 MEDIUMTEXT NOT NULL, c3 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` mediumtext NOT NULL, + `c4` longtext NOT NULL, + `c3` mediumtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 LONGTEXT NOT NULL, c3 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` longtext NOT NULL, + `c4` longtext NOT NULL, + `c3` longtext NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_column_middle2.result b/mysql-test/suite/engines/funcs/r/ta_add_column_middle2.result new file mode 100644 index 00000000..c8ed71f9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_column_middle2.result @@ -0,0 +1,5377 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bit(1) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyint(4) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 SMALLINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` smallint(6) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumint(9) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 INTEGER NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BIGINT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` bigint(20) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 REAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DOUBLE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` double NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 FLOAT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` float NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DECIMAL NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 NUMERIC NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` decimal(10,0) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 DATE NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` date NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIME NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` time NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NULL DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TIMESTAMP NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` timestamp NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 YEAR NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` year(4) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinyblob NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 BLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` blob NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumblob NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGBLOB NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longblob NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TINYTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` tinytext NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 TEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` text NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 MEDIUMTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` mediumtext NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(15) NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD c4 LONGTEXT NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(15) NOT NULL, + `c2` int(11) NOT NULL, + `c4` longtext NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string.result b/mysql-test/suite/engines/funcs/r/ta_add_string.result new file mode 100644 index 00000000..a3f78e3d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string.result @@ -0,0 +1,705 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL, + `c2` char(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL, + `c2` char(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL, + `c2` char(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL, + `c2` char(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL, + `c2` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL, + `c2` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL, + `c2` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL, + `c2` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL, + `c2` varchar(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL, + `c2` varchar(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL, + `c2` varchar(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL, + `c2` varchar(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL, + `c2` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL, + `c2` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL, + `c2` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL, + `c2` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL, + `c2` binary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL, + `c2` binary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL, + `c2` binary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL, + `c2` binary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL, + `c2` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL, + `c2` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL, + `c2` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL, + `c2` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL, + `c2` varbinary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL, + `c2` varbinary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL, + `c2` varbinary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL, + `c2` varbinary(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL, + `c2` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL, + `c2` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL, + `c2` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL ; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL, + `c2` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string2.result b/mysql-test/suite/engines/funcs/r/ta_add_string2.result new file mode 100644 index 00000000..9f829dd3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string2.result @@ -0,0 +1,4225 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL, + `c2` char(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL, + `c2` varchar(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL, + `c2` varchar(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL, + `c2` binary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL, + `c2` binary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL, + `c2` varbinary(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL, + `c2` varbinary(5) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string_first.result b/mysql-test/suite/engines/funcs/r/ta_add_string_first.result new file mode 100644 index 00000000..dce2a2bb --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string_first.result @@ -0,0 +1,705 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) DEFAULT NULL, + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) DEFAULT NULL, + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) DEFAULT NULL, + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) DEFAULT NULL, + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) NOT NULL, + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) NOT NULL, + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) NOT NULL, + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(20) NOT NULL, + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) DEFAULT NULL, + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) DEFAULT NULL, + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) DEFAULT NULL, + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) DEFAULT NULL, + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) NOT NULL, + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) NOT NULL, + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) NOT NULL, + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(20) NOT NULL, + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) DEFAULT NULL, + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) DEFAULT NULL, + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) DEFAULT NULL, + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) DEFAULT NULL, + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) NOT NULL, + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) NOT NULL, + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) NOT NULL, + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(20) NOT NULL, + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) DEFAULT NULL, + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) DEFAULT NULL, + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) DEFAULT NULL, + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) DEFAULT NULL, + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) NOT NULL, + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) NOT NULL, + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) NOT NULL, + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(20) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(20) NOT NULL, + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string_first2.result b/mysql-test/suite/engines/funcs/r/ta_add_string_first2.result new file mode 100644 index 00000000..f5c61673 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string_first2.result @@ -0,0 +1,4225 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 CHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` char(5) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARCHAR(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varchar(5) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 BINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` binary(5) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) DEFAULT NULL, + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c2 VARBINARY(5) NOT NULL FIRST; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c2` varbinary(5) NOT NULL, + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string_middle.result b/mysql-test/suite/engines/funcs/r/ta_add_string_middle.result new file mode 100644 index 00000000..71d65226 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string_middle.result @@ -0,0 +1,897 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c4` char(20) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c4` char(20) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c4` char(20) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c4` char(20) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c4` char(20) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c4` char(20) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c4` char(20) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c4` char(20) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c4` varchar(20) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c4` varchar(20) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c4` varchar(20) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c4` varchar(20) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c4` varchar(20) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c4` varchar(20) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c4` varchar(20) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c4` varchar(20) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c4` binary(20) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c4` binary(20) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c4` binary(20) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c4` binary(20) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c4` binary(20) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c4` binary(20) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c4` binary(20) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c4` binary(20) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + `c4` varbinary(20) DEFAULT NULL, + `c3` char(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) DEFAULT NULL, + `c4` varbinary(20) DEFAULT NULL, + `c3` varchar(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) DEFAULT NULL, + `c4` varbinary(20) DEFAULT NULL, + `c3` binary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) DEFAULT NULL, + `c4` varbinary(20) DEFAULT NULL, + `c3` varbinary(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` char(10) NOT NULL, + `c4` varbinary(20) NOT NULL, + `c3` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varchar(10) NOT NULL, + `c4` varbinary(20) NOT NULL, + `c3` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` binary(10) NOT NULL, + `c4` varbinary(20) NOT NULL, + `c3` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` varbinary(10) NOT NULL, + `c4` varbinary(20) NOT NULL, + `c3` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string_middle2.result b/mysql-test/suite/engines/funcs/r/ta_add_string_middle2.result new file mode 100644 index 00000000..56fbf597 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string_middle2.result @@ -0,0 +1,3585 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) DEFAULT NULL, + `c3` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 CHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` char(5) NOT NULL, + `c3` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) DEFAULT NULL, + `c3` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARCHAR(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varchar(5) NOT NULL, + `c3` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) DEFAULT NULL, + `c3` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 BINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` binary(5) NOT NULL, + `c3` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) DEFAULT NULL, + `c3` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(6) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(9) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(20) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 REAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DOUBLE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` double NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 FLOAT NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` float NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DECIMAL NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 NUMERIC NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` decimal(10,0) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 DATE NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` date NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIME NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` time NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TIMESTAMP NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` timestamp NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 YEAR NOT NULL PRIMARY KEY, c2 INT NOT NULL, c3 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t5 ADD c4 VARBINARY(5) NOT NULL AFTER c2; +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` year(4) NOT NULL, + `c2` int(11) NOT NULL, + `c4` varbinary(5) NOT NULL, + `c3` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_string_unique_index.result b/mysql-test/suite/engines/funcs/r/ta_add_string_unique_index.result new file mode 100644 index 00000000..73f5da16 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_string_unique_index.result @@ -0,0 +1,1585 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_add_unique_index.result b/mysql-test/suite/engines/funcs/r/ta_add_unique_index.result new file mode 100644 index 00000000..5394c24b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_add_unique_index.result @@ -0,0 +1,6337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `cst1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD CONSTRAINT cst1 UNIQUE INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_from_unsigned.result b/mysql-test/suite/engines/funcs/r/ta_column_from_unsigned.result new file mode 100644 index 00000000..614ee546 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_from_unsigned.result @@ -0,0 +1,925 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TINYINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_from_zerofill.result b/mysql-test/suite/engines/funcs/r/ta_column_from_zerofill.result new file mode 100644 index 00000000..925eafdc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_from_zerofill.result @@ -0,0 +1,1849 @@ +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_index.result b/mysql-test/suite/engines/funcs/r/ta_column_to_index.result new file mode 100644 index 00000000..b5e0a265 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_index.result @@ -0,0 +1,4225 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_not_null.result b/mysql-test/suite/engines/funcs/r/ta_column_to_not_null.result new file mode 100644 index 00000000..5fdec6d8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_not_null.result @@ -0,0 +1,1009 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 BIT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TINYINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 SMALLINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 MEDIUMINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 INT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 INTEGER NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 BIGINT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 REAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 DOUBLE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 FLOAT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 DECIMAL NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 NUMERIC NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 DATE NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TIME NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TIMESTAMP NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 YEAR NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TINYBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 BLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 MEDIUMBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 LONGBLOB NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TINYTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 TEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 MEDIUMTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 LONGTEXT NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_null.result b/mysql-test/suite/engines/funcs/r/ta_column_to_null.result new file mode 100644 index 00000000..96e2236e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_null.result @@ -0,0 +1,1009 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 BIT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 INT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 DATE NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TIME NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 YEAR NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 BLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 TEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 BIT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TINYINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 SMALLINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 MEDIUMINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 INT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 INTEGER NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 BIGINT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 REAL NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 DOUBLE NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 FLOAT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 DECIMAL NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 NUMERIC NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 DATE NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TIME NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TIMESTAMP NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 YEAR NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TINYBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 BLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 MEDIUMBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 LONGBLOB NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TINYTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 TEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 MEDIUMTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 LONGTEXT NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_column_to_pk.result new file mode 100644 index 00000000..3624e905 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_pk.result @@ -0,0 +1,353 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_unsigned.result b/mysql-test/suite/engines/funcs/r/ta_column_to_unsigned.result new file mode 100644 index 00000000..e33aed36 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_unsigned.result @@ -0,0 +1,925 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NOT NULL; +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_column_to_zerofill.result b/mysql-test/suite/engines/funcs/r/ta_column_to_zerofill.result new file mode 100644 index 00000000..91ea4142 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_column_to_zerofill.result @@ -0,0 +1,1849 @@ +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED ZEROFILL NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 REAL UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED ZEROFILL NOT NULL; +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_column.result b/mysql-test/suite/engines/funcs/r/ta_drop_column.result new file mode 100644 index 00000000..840e4c78 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_column.result @@ -0,0 +1,673 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_index.result b/mysql-test/suite/engines/funcs/r/ta_drop_index.result new file mode 100644 index 00000000..bada7f1d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_index.result @@ -0,0 +1,2113 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_pk_autoincrement.result b/mysql-test/suite/engines/funcs/r/ta_drop_pk_autoincrement.result new file mode 100644 index 00000000..d4082de4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_pk_autoincrement.result @@ -0,0 +1,265 @@ +DROP TABLE IF EXISTS t8; +CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 TINYINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 SMALLINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 INT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 INTEGER NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 MODIFY c1 BIGINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 TINYINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 SMALLINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 INT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 INTEGER NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t8 CHANGE c1 c1 BIGINT NOT NULL, DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_pk_number.result b/mysql-test/suite/engines/funcs/r/ta_drop_pk_number.result new file mode 100644 index 00000000..9af57069 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_pk_number.result @@ -0,0 +1,353 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 BIT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TINYINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 SMALLINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 MEDIUMINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INTEGER NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BIGINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 REAL NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FLOAT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DECIMAL NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 NUMERIC NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATE NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIME NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 YEAR NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_pk_string.result b/mysql-test/suite/engines/funcs/r/ta_drop_pk_string.result new file mode 100644 index 00000000..bbbf02d9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_pk_string.result @@ -0,0 +1,89 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 CHAR(20) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` char(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` char(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARCHAR(20) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varchar(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varchar(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BINARY(20) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` binary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` binary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARBINARY(20) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varbinary(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t9 DROP PRIMARY KEY; +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varbinary(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_drop_string_index.result b/mysql-test/suite/engines/funcs/r/ta_drop_string_index.result new file mode 100644 index 00000000..4bd7e3ff --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_drop_string_index.result @@ -0,0 +1,529 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP KEY i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, INDEX i1 (c1)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP INDEX i1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_orderby.result b/mysql-test/suite/engines/funcs/r/ta_orderby.result new file mode 100644 index 00000000..73e57a2a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_orderby.result @@ -0,0 +1,217 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL); +INSERT INTO t1 VALUES(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1); +ALTER TABLE t1 ORDER BY c1,c2,c3; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +1 1 2 +1 2 1 +1 2 2 +2 1 1 +ALTER TABLE t1 ORDER BY c3,c2,c1; +SELECT * FROM t1; +c1 c2 c3 +1 1 1 +2 1 1 +1 2 1 +1 1 2 +1 2 2 +ALTER TABLE t1 ORDER BY c3,c2,c1 DESC; +SELECT * FROM t1; +c1 c2 c3 +2 1 1 +1 1 1 +1 2 1 +1 1 2 +1 2 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_rename.result b/mysql-test/suite/engines/funcs/r/ta_rename.result new file mode 100644 index 00000000..1528e6fe --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_rename.result @@ -0,0 +1,801 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) NOT NULL, + `c2` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date NOT NULL, + `c2` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time NOT NULL, + `c2` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NOT NULL, + `c2` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 RENAME TO t2; +SHOW TABLES; +Tables_in_test +t2 +DROP TABLE t1; +ERROR 42S02: Unknown table 'test.t1' +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) NOT NULL, + `c2` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_set_drop_default.result b/mysql-test/suite/engines/funcs/r/ta_set_drop_default.result new file mode 100644 index 00000000..1647669e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_set_drop_default.result @@ -0,0 +1,903 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` tinyint(4), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` smallint(6), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` mediumint(9), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY, c2 INT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` int(11), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` bigint(20), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double NOT NULL, + `c2` double, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float NOT NULL, + `c2` float, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 SET DEFAULT 10; +INSERT INTO t1(c1) VALUES(1); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0) DEFAULT 10, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ALTER COLUMN c2 DROP DEFAULT; +INSERT IGNORE INTO t1(c1) VALUES(2); +Warnings: +Warning 1364 Field 'c2' doesn't have a default value +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 NULL +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) NOT NULL, + `c2` decimal(10,0), + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_string_drop_column.result b/mysql-test/suite/engines/funcs/r/ta_string_drop_column.result new file mode 100644 index 00000000..f9f3fcdf --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_string_drop_column.result @@ -0,0 +1,169 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 CHAR(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARCHAR(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 BINARY(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARBINARY(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP c2; +ALTER TABLE t1 DROP c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL, c2 CHAR(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + `c2` char(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL, c2 VARCHAR(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + `c2` varchar(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL, c2 BINARY(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + `c2` binary(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL, c2 VARBINARY(30)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + `c2` varbinary(30) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 DROP COLUMN c2; +ALTER TABLE t1 DROP COLUMN c1; +ERROR 42000: You can't delete all columns with ALTER TABLE; use DROP TABLE instead +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_string_to_index.result b/mysql-test/suite/engines/funcs/r/ta_string_to_index.result new file mode 100644 index 00000000..8123a259 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_string_to_index.result @@ -0,0 +1,1057 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `c1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD KEY i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING BTREE (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) USING BTREE +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD INDEX i1 USING HASH (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + KEY `i1` (`c1`) USING HASH +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_string_to_not_null.result b/mysql-test/suite/engines/funcs/r/ta_string_to_not_null.result new file mode 100644 index 00000000..62362064 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_string_to_not_null.result @@ -0,0 +1,169 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 CHAR(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 VARCHAR(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 BINARY(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 MODIFY c1 VARBINARY(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 CHAR(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 CHAR(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 VARCHAR(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 BINARY(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(100) NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(100) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 CHANGE c1 c1 VARBINARY(100) NOT NULL; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(100) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_string_to_null.result b/mysql-test/suite/engines/funcs/r/ta_string_to_null.result new file mode 100644 index 00000000..bbad670d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_string_to_null.result @@ -0,0 +1,169 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 CHAR(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 CHAR(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 VARCHAR(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 BINARY(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 MODIFY c1 VARBINARY(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 CHAR(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 CHAR(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` char(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARCHAR(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 VARCHAR(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varchar(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BINARY(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 BINARY(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` binary(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 VARBINARY(200) NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(200) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t2 CHANGE c1 c1 VARBINARY(200) NULL; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` varbinary(200) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/ta_string_to_pk.result b/mysql-test/suite/engines/funcs/r/ta_string_to_pk.result new file mode 100644 index 00000000..c99554b5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/ta_string_to_pk.result @@ -0,0 +1,89 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(30) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(30) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(30) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(30) NOT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +ALTER TABLE t1 ADD PRIMARY KEY (c1); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(30) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_autoincrement.result b/mysql-test/suite/engines/funcs/r/tc_column_autoincrement.result new file mode 100644 index 00000000..52c2c96e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_autoincrement.result @@ -0,0 +1,79 @@ +DROP TABLE IF EXISTS t8; +CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` tinyint(4) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` smallint(6) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` mediumint(9) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test +CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t8 +SHOW CREATE TABLE t8; +Table Create Table +t8 CREATE TABLE `t8` ( + `c1` bigint(20) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t8; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_comment.result b/mysql-test/suite/engines/funcs/r/tc_column_comment.result new file mode 100644 index 00000000..d83e8252 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_comment.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL COMMENT 'This is a BIT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL COMMENT 'This is a BIT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL COMMENT 'This is a TINYINT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL COMMENT 'This is a TINYINT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL COMMENT 'This is a SMALLINT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL COMMENT 'This is a SMALLINT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL COMMENT 'This is a MEDIUMINT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL COMMENT 'This is a MEDIUMINT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL COMMENT 'This is a INT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL COMMENT 'This is a INT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL COMMENT 'This is a INTEGER column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL COMMENT 'This is a INTEGER column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL COMMENT 'This is a BIGINT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL COMMENT 'This is a BIGINT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL COMMENT 'This is a DECIMAL column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL COMMENT 'This is a DECIMAL column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DEC NULL COMMENT 'This is a DEC column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL COMMENT 'This is a DEC column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FIXED NULL COMMENT 'This is a FIXED column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL COMMENT 'This is a FIXED column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL COMMENT 'This is a NUMERIC column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL COMMENT 'This is a NUMERIC column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL COMMENT 'This is a DOUBLE column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL COMMENT 'This is a DOUBLE column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL COMMENT 'This is a REAL column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL COMMENT 'This is a REAL column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE PRECISION NULL COMMENT 'This is a DOUBLE PRECISION column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL COMMENT 'This is a DOUBLE PRECISION column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL COMMENT 'This is a FLOAT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL COMMENT 'This is a FLOAT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL COMMENT 'This is a DATE column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL COMMENT 'This is a DATE column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL COMMENT 'This is a TIME column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL COMMENT 'This is a TIME column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL COMMENT 'This is a TIMESTAMP column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL COMMENT 'This is a TIMESTAMP column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATETIME NULL COMMENT 'This is a DATETIME column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` datetime DEFAULT NULL COMMENT 'This is a DATETIME column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL COMMENT 'This is a YEAR column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL COMMENT 'This is a YEAR column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL COMMENT 'This is a TINYBLOB column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL COMMENT 'This is a TINYBLOB column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL COMMENT 'This is a BLOB column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL COMMENT 'This is a BLOB column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL COMMENT 'This is a MEDIUMBLOB column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL COMMENT 'This is a MEDIUMBLOB column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL COMMENT 'This is a LONGBLOB column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL COMMENT 'This is a LONGBLOB column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL COMMENT 'This is a TINYTEXT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL COMMENT 'This is a TINYTEXT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL COMMENT 'This is a TEXT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL COMMENT 'This is a TEXT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL COMMENT 'This is a MEDIUMTEXT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL COMMENT 'This is a MEDIUMTEXT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL COMMENT 'This is a LONGTEXT column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL COMMENT 'This is a LONGTEXT column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_comment_string.result b/mysql-test/suite/engines/funcs/r/tc_column_comment_string.result new file mode 100644 index 00000000..2974d27f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_comment_string.result @@ -0,0 +1,49 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NULL COMMENT 'This is a CHAR column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(10) DEFAULT NULL COMMENT 'This is a CHAR column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(10) NULL COMMENT 'This is a VARCHAR column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) DEFAULT NULL COMMENT 'This is a VARCHAR column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(10) NULL COMMENT 'This is a BINARY column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(10) DEFAULT NULL COMMENT 'This is a BINARY column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(10) NULL COMMENT 'This is a VARBINARY column'); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(10) DEFAULT NULL COMMENT 'This is a VARBINARY column' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_default_decimal.result b/mysql-test/suite/engines/funcs/r/tc_column_default_decimal.result new file mode 100644 index 00000000..9852eec6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_default_decimal.result @@ -0,0 +1,194 @@ +DROP TABLE IF EXISTS t12; +DROP TABLE IF EXISTS t13; +CREATE TABLE t12(c1 DECIMAL(5,0) NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 DECIMAL(5,4) NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 DEC(5,0) NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 DEC(5,4) NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 FIXED(5,0) NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 FIXED(5,4) NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 NUMERIC(5,0) NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 NUMERIC(5,4) NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 DECIMAL(5,0) NOT NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) NOT NULL DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 DECIMAL(5,4) NOT NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) NOT NULL DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 DEC(5,0) NOT NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) NOT NULL DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 DEC(5,4) NOT NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) NOT NULL DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 FIXED(5,0) NOT NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) NOT NULL DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 FIXED(5,4) NOT NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) NOT NULL DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test +CREATE TABLE t12(c1 NUMERIC(5,0) NOT NULL DEFAULT 2); +SHOW TABLES; +Tables_in_test +t12 +SHOW CREATE TABLE t12; +Table Create Table +t12 CREATE TABLE `t12` ( + `c1` decimal(5,0) NOT NULL DEFAULT 2 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t12; +SHOW TABLES; +Tables_in_test +CREATE TABLE t13(c1 NUMERIC(5,4) NOT NULL DEFAULT 3.1234); +SHOW TABLES; +Tables_in_test +t13 +SHOW CREATE TABLE t13; +Table Create Table +t13 CREATE TABLE `t13` ( + `c1` decimal(5,4) NOT NULL DEFAULT 3.1234 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t13; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_default_number.result b/mysql-test/suite/engines/funcs/r/tc_column_default_number.result new file mode 100644 index 00000000..85c8d49e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_default_number.result @@ -0,0 +1,145 @@ +DROP TABLE IF EXISTS t11; +CREATE TABLE t11(c1 TINYINT(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` tinyint(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 SMALLINT(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` smallint(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 MEDIUMINT(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` mediumint(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 INT(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` int(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 INTEGER(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` int(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 BIGINT(5) NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` bigint(5) DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 TINYINT(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` tinyint(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 SMALLINT(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` smallint(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 MEDIUMINT(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` mediumint(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 INT(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` int(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 INTEGER(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` int(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test +CREATE TABLE t11(c1 BIGINT(5) NOT NULL DEFAULT 1); +SHOW TABLES; +Tables_in_test +t11 +SHOW CREATE TABLE t11; +Table Create Table +t11 CREATE TABLE `t11` ( + `c1` bigint(5) NOT NULL DEFAULT 1 +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t11; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_default_string.result b/mysql-test/suite/engines/funcs/r/tc_column_default_string.result new file mode 100644 index 00000000..5ae43c0e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_default_string.result @@ -0,0 +1,97 @@ +DROP TABLE IF EXISTS t14; +CREATE TABLE t14(c1 CHAR(10) NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` char(10) DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 VARCHAR(10) NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` varchar(10) DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 BINARY(10) NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` binary(10) DEFAULT 'x\0\0\0\0\0\0\0\0\0' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 VARBINARY(10) NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` varbinary(10) DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 CHAR(10) NOT NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` char(10) NOT NULL DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 VARCHAR(10) NOT NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` varchar(10) NOT NULL DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 BINARY(10) NOT NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` binary(10) NOT NULL DEFAULT 'x\0\0\0\0\0\0\0\0\0' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test +CREATE TABLE t14(c1 VARBINARY(10) NOT NULL DEFAULT 'x'); +SHOW TABLES; +Tables_in_test +t14 +SHOW CREATE TABLE t14; +Table Create Table +t14 CREATE TABLE `t14` ( + `c1` varbinary(10) NOT NULL DEFAULT 'x' +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t14; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_enum.result b/mysql-test/suite/engines/funcs/r/tc_column_enum.result new file mode 100644 index 00000000..a54cbe66 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_enum.result @@ -0,0 +1,25 @@ +DROP TABLE IF EXISTS t6; +CREATE TABLE t6(c1 ENUM('a','b','c') NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` enum('a','b','c') DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 ENUM('a','b','c') NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` enum('a','b','c') NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_enum_long.result b/mysql-test/suite/engines/funcs/r/tc_column_enum_long.result new file mode 100644 index 00000000..a7bb76c7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_enum_long.result @@ -0,0 +1,25 @@ +DROP TABLE IF EXISTS t6; +CREATE TABLE t6(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` enum('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` enum('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_key.result b/mysql-test/suite/engines/funcs/r/tc_column_key.result new file mode 100644 index 00000000..2b3fa1c0 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_key.result @@ -0,0 +1,261 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 BIT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TINYINT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 SMALLINT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 MEDIUMINT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INTEGER NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BIGINT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DECIMAL NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DEC NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FIXED NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 NUMERIC NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 REAL NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE PRECISION NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FLOAT NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATE NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIME NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIMESTAMP NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATETIME NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` datetime NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 YEAR NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_key_length.result b/mysql-test/suite/engines/funcs/r/tc_column_key_length.result new file mode 100644 index 00000000..79edca17 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_key_length.result @@ -0,0 +1,53 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 CHAR(10) NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARCHAR(10) NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BINARY(10) NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARBINARY(10) NOT NULL KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_length.result b/mysql-test/suite/engines/funcs/r/tc_column_length.result new file mode 100644 index 00000000..a6adb401 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_length.result @@ -0,0 +1,265 @@ +DROP TABLE IF EXISTS t5; +CREATE TABLE t5(c1 BIT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(1) NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 TINYINT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` tinyint(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 SMALLINT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` smallint(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 MEDIUMINT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` mediumint(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 INTEGER(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` int(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BIGINT(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` bigint(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 CHAR(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` char(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARCHAR(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varchar(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 BINARY(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` binary(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TABLE t5(c1 VARBINARY(1) NOT NULL); +SHOW TABLES; +Tables_in_test +t5 +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TABLE `t5` ( + `c1` varbinary(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_length_decimals.result b/mysql-test/suite/engines/funcs/r/tc_column_length_decimals.result new file mode 100644 index 00000000..227ef31e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_length_decimals.result @@ -0,0 +1,194 @@ +DROP TABLE IF EXISTS t6; +DROP TABLE IF EXISTS t7; +CREATE TABLE t6(c1 DECIMAL(1,0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DEC(1,0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DEC(5,4) NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FIXED(1,0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FIXED(5,4) NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DECIMAL(1,0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DECIMAL(5,4) NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 DEC(1,0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 DEC(5,4) NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 FIXED(1,0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 FIXED(5,4) NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 NUMERIC(1,0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` decimal(1,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 NUMERIC(5,4) NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` decimal(5,4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_length_zero.result b/mysql-test/suite/engines/funcs/r/tc_column_length_zero.result new file mode 100644 index 00000000..9d9ade69 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_length_zero.result @@ -0,0 +1,49 @@ +DROP TABLE IF EXISTS t6; +CREATE TABLE t6(c1 CHAR(0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` char(0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 VARCHAR(0) NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` varchar(0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 CHAR(0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` char(0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test +CREATE TABLE t6(c1 VARCHAR(0) NOT NULL); +SHOW TABLES; +Tables_in_test +t6 +SHOW CREATE TABLE t6; +Table Create Table +t6 CREATE TABLE `t6` ( + `c1` varchar(0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t6; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_not_null.result b/mysql-test/suite/engines/funcs/r/tc_column_not_null.result new file mode 100644 index 00000000..eca7439a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_not_null.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DEC NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 FIXED NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DOUBLE PRECISION NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 DATETIME NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` datetime NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_null.result b/mysql-test/suite/engines/funcs/r/tc_column_null.result new file mode 100644 index 00000000..32fd3b66 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_null.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DEC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FIXED NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE PRECISION NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATETIME NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_primary_key_number.result b/mysql-test/suite/engines/funcs/r/tc_column_primary_key_number.result new file mode 100644 index 00000000..42be2e20 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_primary_key_number.result @@ -0,0 +1,261 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 BIT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bit(1) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TINYINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` tinyint(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 SMALLINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` smallint(6) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 MEDIUMINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` mediumint(9) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INTEGER NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BIGINT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bigint(20) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DECIMAL NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DEC NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FIXED NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 NUMERIC NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 REAL NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FLOAT NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` float NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATE NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` date NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIME NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` time NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIMESTAMP NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` timestamp NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATETIME NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` datetime NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 YEAR NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` year(4) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_primary_key_string.result b/mysql-test/suite/engines/funcs/r/tc_column_primary_key_string.result new file mode 100644 index 00000000..14988518 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_primary_key_string.result @@ -0,0 +1,53 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 CHAR(10) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` char(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARCHAR(10) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varchar(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BINARY(10) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` binary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARBINARY(10) NOT NULL PRIMARY KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varbinary(10) NOT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_serial.result b/mysql-test/suite/engines/funcs/r/tc_column_serial.result new file mode 100644 index 00000000..646f56a4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_serial.result @@ -0,0 +1,14 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 SERIAL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_set.result b/mysql-test/suite/engines/funcs/r/tc_column_set.result new file mode 100644 index 00000000..c4e7617c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_set.result @@ -0,0 +1,25 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 SET('a','b','c') NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` set('a','b','c') DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 SET('a','b','c') NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` set('a','b','c') NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_set_long.result b/mysql-test/suite/engines/funcs/r/tc_column_set_long.result new file mode 100644 index 00000000..2446926f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_set_long.result @@ -0,0 +1,25 @@ +DROP TABLE IF EXISTS t7; +CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` set('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test +CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NOT NULL); +SHOW TABLES; +Tables_in_test +t7 +SHOW CREATE TABLE t7; +Table Create Table +t7 CREATE TABLE `t7` ( + `c1` set('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefgh') NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t7; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_unique_key.result b/mysql-test/suite/engines/funcs/r/tc_column_unique_key.result new file mode 100644 index 00000000..5fb8cd5b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_unique_key.result @@ -0,0 +1,261 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 BIT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bit(1) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TINYINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` tinyint(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 SMALLINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` smallint(6) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 MEDIUMINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` mediumint(9) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 INTEGER NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` int(11) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BIGINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` bigint(20) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DECIMAL NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DEC NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FIXED NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 NUMERIC NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` decimal(10,0) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 REAL NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DOUBLE PRECISION NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` double NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 FLOAT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` float NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATE NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` date NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIME NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` time NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 TIMESTAMP NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` timestamp NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 DATETIME NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` datetime NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 YEAR NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` year(4) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_unique_key_string.result b/mysql-test/suite/engines/funcs/r/tc_column_unique_key_string.result new file mode 100644 index 00000000..15ab7c96 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_unique_key_string.result @@ -0,0 +1,53 @@ +DROP TABLE IF EXISTS t9; +CREATE TABLE t9(c1 CHAR(10) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` char(10) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARCHAR(10) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varchar(10) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 BINARY(10) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` binary(10) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test +CREATE TABLE t9(c1 VARBINARY(10) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +t9 +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `c1` varbinary(10) NOT NULL, + UNIQUE KEY `c1` (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t9; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_unsigned.result b/mysql-test/suite/engines/funcs/r/tc_column_unsigned.result new file mode 100644 index 00000000..ae30d899 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_unsigned.result @@ -0,0 +1,337 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TINYINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DEC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FIXED UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE PRECISION UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` tinyint(3) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` smallint(5) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` mediumint(8) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 INTEGER UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(10) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` bigint(20) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DECIMAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DEC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FIXED UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 NUMERIC UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` decimal(10,0) unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 REAL UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 DOUBLE PRECISION UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` double unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test +CREATE TABLE t3(c1 FLOAT UNSIGNED NOT NULL); +SHOW TABLES; +Tables_in_test +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` float unsigned NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_column_zerofill.result b/mysql-test/suite/engines/funcs/r/tc_column_zerofill.result new file mode 100644 index 00000000..13f1fd34 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_column_zerofill.result @@ -0,0 +1,673 @@ +DROP TABLE IF EXISTS t4; +CREATE TABLE t4(c1 TINYINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DEC ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FIXED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE PRECISION ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DEC UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FIXED UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE PRECISION UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DEC ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FIXED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE PRECISION ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` tinyint(3) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` smallint(5) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` mediumint(8) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` int(10) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` bigint(20) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DEC UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FIXED UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` decimal(10,0) unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 DOUBLE PRECISION UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` double unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test +CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NOT NULL); +SHOW TABLES; +Tables_in_test +t4 +SHOW CREATE TABLE t4; +Table Create Table +t4 CREATE TABLE `t4` ( + `c1` float unsigned zerofill NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t4; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_drop_table.result b/mysql-test/suite/engines/funcs/r/tc_drop_table.result new file mode 100644 index 00000000..eae9dcb5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_drop_table.result @@ -0,0 +1,61 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE t1 ; +DROP TABLE t2,t3 ; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE IF EXISTS t1 ; +DROP TABLE IF EXISTS t2,t3 ; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE t1 RESTRICT ; +DROP TABLE t2,t3 RESTRICT ; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE IF EXISTS t1 RESTRICT ; +DROP TABLE IF EXISTS t2,t3 RESTRICT ; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE t1 CASCADE ; +DROP TABLE t2,t3 CASCADE ; +CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TABLE IF EXISTS t1 CASCADE ; +DROP TABLE IF EXISTS t2,t3 CASCADE ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE t1 ; +DROP TEMPORARY TABLE t2,t3 ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE IF EXISTS t1 ; +DROP TEMPORARY TABLE IF EXISTS t2,t3 ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE t1 RESTRICT ; +DROP TEMPORARY TABLE t2,t3 RESTRICT ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE IF EXISTS t1 RESTRICT ; +DROP TEMPORARY TABLE IF EXISTS t2,t3 RESTRICT ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE t1 CASCADE ; +DROP TEMPORARY TABLE t2,t3 CASCADE ; +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY); +CREATE TEMPORARY TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY); +DROP TEMPORARY TABLE IF EXISTS t1 CASCADE ; +DROP TEMPORARY TABLE IF EXISTS t2,t3 CASCADE ; diff --git a/mysql-test/suite/engines/funcs/r/tc_multicolumn_different.result b/mysql-test/suite/engines/funcs/r/tc_multicolumn_different.result new file mode 100644 index 00000000..4b5cf0b7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_multicolumn_different.result @@ -0,0 +1,36481 @@ +DROP TABLE IF EXISTS m3; +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DECIMAL(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 DEC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 FIXED(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 CHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 CHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` char(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` char(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARCHAR(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARCHAR(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varchar(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varchar(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 BINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 BINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` binary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` binary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 TINYINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 SMALLINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` smallint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 MEDIUMINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` mediumint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 INTEGER(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` int(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bit(1) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bit(1) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TINYINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` tinyint(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 SMALLINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` smallint(6) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` smallint(6) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 MEDIUMINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` mediumint(9) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 INTEGER NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` int(11) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` int(11) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 BIGINT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` bigint(20) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` bigint(20) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DECIMAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DEC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FIXED NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 NUMERIC NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` decimal(10,0) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 REAL NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DOUBLE PRECISION NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` double DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` double NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 FLOAT NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` float DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` float NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATE NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` date DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` date NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` time DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` time NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 TIMESTAMP NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` timestamp NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 DATETIME NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` datetime DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` datetime NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test +CREATE TABLE m3(c1 YEAR NULL, c2 VARBINARY(25) NOT NULL, c3 BIGINT(4) NULL, c4 VARBINARY(15) NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY,c6 NUMERIC(10,8) NOT NULL DEFAULT 3.141592); +SHOW TABLES; +Tables_in_test +m3 +SHOW CREATE TABLE m3; +Table Create Table +m3 CREATE TABLE `m3` ( + `c1` year(4) DEFAULT NULL, + `c2` varbinary(25) NOT NULL, + `c3` bigint(4) DEFAULT NULL, + `c4` varbinary(15) NOT NULL, + `c5` year(4) NOT NULL, + `c6` decimal(10,8) NOT NULL DEFAULT 3.14159200, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m3; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_multicolumn_same.result b/mysql-test/suite/engines/funcs/r/tc_multicolumn_same.result new file mode 100644 index 00000000..bcece36b --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_multicolumn_same.result @@ -0,0 +1,361 @@ +DROP TABLE IF EXISTS m1; +CREATE TABLE m1(c1 BIT NULL, c2 BIT NOT NULL, c3 BIT NULL, c4 BIT NOT NULL PRIMARY KEY, c5 BIT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` bit(1) DEFAULT NULL, + `c2` bit(1) NOT NULL, + `c3` bit(1) DEFAULT NULL, + `c4` bit(1) NOT NULL, + `c5` bit(1) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 TINYINT NULL, c2 TINYINT NOT NULL, c3 TINYINT NULL, c4 TINYINT NOT NULL PRIMARY KEY, c5 TINYINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` tinyint(4) NOT NULL, + `c3` tinyint(4) DEFAULT NULL, + `c4` tinyint(4) NOT NULL, + `c5` tinyint(4) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 SMALLINT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NULL, c4 SMALLINT NOT NULL PRIMARY KEY, c5 SMALLINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` smallint(6) NOT NULL, + `c3` smallint(6) DEFAULT NULL, + `c4` smallint(6) NOT NULL, + `c5` smallint(6) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 MEDIUMINT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NULL, c4 MEDIUMINT NOT NULL PRIMARY KEY, c5 MEDIUMINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` mediumint(9) NOT NULL, + `c3` mediumint(9) DEFAULT NULL, + `c4` mediumint(9) NOT NULL, + `c5` mediumint(9) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 INT NULL, c2 INT NOT NULL, c3 INT NULL, c4 INT NOT NULL PRIMARY KEY, c5 INT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` int(11) NOT NULL, + `c5` int(11) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 INTEGER NULL, c2 INTEGER NOT NULL, c3 INTEGER NULL, c4 INTEGER NOT NULL PRIMARY KEY, c5 INTEGER NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) NOT NULL, + `c3` int(11) DEFAULT NULL, + `c4` int(11) NOT NULL, + `c5` int(11) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 BIGINT NULL, c2 BIGINT NOT NULL, c3 BIGINT NULL, c4 BIGINT NOT NULL PRIMARY KEY, c5 BIGINT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` bigint(20) NOT NULL, + `c3` bigint(20) DEFAULT NULL, + `c4` bigint(20) NOT NULL, + `c5` bigint(20) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DECIMAL NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NULL, c4 DECIMAL NOT NULL PRIMARY KEY, c5 DECIMAL NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) NOT NULL, + `c5` decimal(10,0) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DEC NULL, c2 DEC NOT NULL, c3 DEC NULL, c4 DEC NOT NULL PRIMARY KEY, c5 DEC NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) NOT NULL, + `c5` decimal(10,0) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 FIXED NULL, c2 FIXED NOT NULL, c3 FIXED NULL, c4 FIXED NOT NULL PRIMARY KEY, c5 FIXED NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) NOT NULL, + `c5` decimal(10,0) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 NUMERIC NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NULL, c4 NUMERIC NOT NULL PRIMARY KEY, c5 NUMERIC NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` decimal(10,0) DEFAULT NULL, + `c2` decimal(10,0) NOT NULL, + `c3` decimal(10,0) DEFAULT NULL, + `c4` decimal(10,0) NOT NULL, + `c5` decimal(10,0) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DOUBLE NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NULL, c4 DOUBLE NOT NULL PRIMARY KEY, c5 DOUBLE NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` double DEFAULT NULL, + `c2` double NOT NULL, + `c3` double DEFAULT NULL, + `c4` double NOT NULL, + `c5` double NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 REAL NULL, c2 REAL NOT NULL, c3 REAL NULL, c4 REAL NOT NULL PRIMARY KEY, c5 REAL NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` double DEFAULT NULL, + `c2` double NOT NULL, + `c3` double DEFAULT NULL, + `c4` double NOT NULL, + `c5` double NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NOT NULL, c3 DOUBLE PRECISION NULL, c4 DOUBLE PRECISION NOT NULL PRIMARY KEY, c5 DOUBLE PRECISION NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` double DEFAULT NULL, + `c2` double NOT NULL, + `c3` double DEFAULT NULL, + `c4` double NOT NULL, + `c5` double NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 FLOAT NULL, c2 FLOAT NOT NULL, c3 FLOAT NULL, c4 FLOAT NOT NULL PRIMARY KEY, c5 FLOAT NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` float DEFAULT NULL, + `c2` float NOT NULL, + `c3` float DEFAULT NULL, + `c4` float NOT NULL, + `c5` float NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DATE NULL, c2 DATE NOT NULL, c3 DATE NULL, c4 DATE NOT NULL PRIMARY KEY, c5 DATE NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` date DEFAULT NULL, + `c2` date NOT NULL, + `c3` date DEFAULT NULL, + `c4` date NOT NULL, + `c5` date NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 TIME NULL, c2 TIME NOT NULL, c3 TIME NULL, c4 TIME NOT NULL PRIMARY KEY, c5 TIME NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` time DEFAULT NULL, + `c2` time NOT NULL, + `c3` time DEFAULT NULL, + `c4` time NOT NULL, + `c5` time NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 TIMESTAMP NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NULL, c4 TIMESTAMP NOT NULL PRIMARY KEY, c5 TIMESTAMP NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` timestamp NULL DEFAULT NULL, + `c2` timestamp NOT NULL, + `c3` timestamp NULL DEFAULT NULL, + `c4` timestamp NOT NULL, + `c5` timestamp NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 DATETIME NULL, c2 DATETIME NOT NULL, c3 DATETIME NULL, c4 DATETIME NOT NULL PRIMARY KEY, c5 DATETIME NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` datetime DEFAULT NULL, + `c2` datetime NOT NULL, + `c3` datetime DEFAULT NULL, + `c4` datetime NOT NULL, + `c5` datetime NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test +CREATE TABLE m1(c1 YEAR NULL, c2 YEAR NOT NULL, c3 YEAR NULL, c4 YEAR NOT NULL PRIMARY KEY, c5 YEAR NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m1 +SHOW CREATE TABLE m1; +Table Create Table +m1 CREATE TABLE `m1` ( + `c1` year(4) DEFAULT NULL, + `c2` year(4) NOT NULL, + `c3` year(4) DEFAULT NULL, + `c4` year(4) NOT NULL, + `c5` year(4) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_multicolumn_same_string.result b/mysql-test/suite/engines/funcs/r/tc_multicolumn_same_string.result new file mode 100644 index 00000000..459ef4c7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_multicolumn_same_string.result @@ -0,0 +1,73 @@ +DROP TABLE IF EXISTS m2; +CREATE TABLE m2(c1 CHAR(1) NULL, c2 CHAR(5) NOT NULL, c3 CHAR(255) NULL, c4 CHAR(4) NOT NULL PRIMARY KEY, c5 CHAR(30) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m2 +SHOW CREATE TABLE m2; +Table Create Table +m2 CREATE TABLE `m2` ( + `c1` char(1) DEFAULT NULL, + `c2` char(5) NOT NULL, + `c3` char(255) DEFAULT NULL, + `c4` char(4) NOT NULL, + `c5` char(30) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m2; +SHOW TABLES; +Tables_in_test +CREATE TABLE m2(c1 VARCHAR(1) NULL, c2 VARCHAR(5) NOT NULL, c3 VARCHAR(255) NULL, c4 VARCHAR(4) NOT NULL PRIMARY KEY, c5 VARCHAR(30) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m2 +SHOW CREATE TABLE m2; +Table Create Table +m2 CREATE TABLE `m2` ( + `c1` varchar(1) DEFAULT NULL, + `c2` varchar(5) NOT NULL, + `c3` varchar(255) DEFAULT NULL, + `c4` varchar(4) NOT NULL, + `c5` varchar(30) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m2; +SHOW TABLES; +Tables_in_test +CREATE TABLE m2(c1 BINARY(1) NULL, c2 BINARY(5) NOT NULL, c3 BINARY(255) NULL, c4 BINARY(4) NOT NULL PRIMARY KEY, c5 BINARY(30) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m2 +SHOW CREATE TABLE m2; +Table Create Table +m2 CREATE TABLE `m2` ( + `c1` binary(1) DEFAULT NULL, + `c2` binary(5) NOT NULL, + `c3` binary(255) DEFAULT NULL, + `c4` binary(4) NOT NULL, + `c5` binary(30) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m2; +SHOW TABLES; +Tables_in_test +CREATE TABLE m2(c1 VARBINARY(1) NULL, c2 VARBINARY(5) NOT NULL, c3 VARBINARY(255) NULL, c4 VARBINARY(4) NOT NULL PRIMARY KEY, c5 VARBINARY(30) NOT NULL UNIQUE KEY); +SHOW TABLES; +Tables_in_test +m2 +SHOW CREATE TABLE m2; +Table Create Table +m2 CREATE TABLE `m2` ( + `c1` varbinary(1) DEFAULT NULL, + `c2` varbinary(5) NOT NULL, + `c3` varbinary(255) DEFAULT NULL, + `c4` varbinary(4) NOT NULL, + `c5` varbinary(30) NOT NULL, + PRIMARY KEY (`c4`), + UNIQUE KEY `c5` (`c5`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE m2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_analyze.result b/mysql-test/suite/engines/funcs/r/tc_partition_analyze.result new file mode 100644 index 00000000..cd4a0294 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_analyze.result @@ -0,0 +1,61 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10)) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (100), +PARTITION p1 VALUES LESS THAN (200), +PARTITION p2 VALUES LESS THAN (300), +PARTITION p3 VALUES LESS THAN (400), +PARTITION p4 VALUES LESS THAN (500), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 ANALYZE PARTITION p1,p2; +Table Op Msg_type Msg_text +test.t1 analyze status Engine-independent statistics collected +test.t1 analyze status OK +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_change_from_range_to_hash_key.result b/mysql-test/suite/engines/funcs/r/tc_partition_change_from_range_to_hash_key.result new file mode 100644 index 00000000..9710b55c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_change_from_range_to_hash_key.result @@ -0,0 +1,756 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY HASH(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 PARTITION BY KEY(c1) PARTITIONS 5; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +ALTER TABLE t1 COALESCE PARTITION 2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_check.result b/mysql-test/suite/engines/funcs/r/tc_partition_check.result new file mode 100644 index 00000000..451d8749 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_check.result @@ -0,0 +1,60 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10)) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (100), +PARTITION p1 VALUES LESS THAN (200), +PARTITION p2 VALUES LESS THAN (300), +PARTITION p3 VALUES LESS THAN (400), +PARTITION p4 VALUES LESS THAN (500), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 CHECK PARTITION p1,p2; +Table Op Msg_type Msg_text +test.t1 check status OK +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_hash.result b/mysql-test/suite/engines/funcs/r/tc_partition_hash.result new file mode 100644 index 00000000..333598b4 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_hash.result @@ -0,0 +1,1261 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 1 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 3 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 50 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_hash_date_function.result b/mysql-test/suite/engines/funcs/r/tc_partition_hash_date_function.result new file mode 100644 index 00000000..c713b93f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_hash_date_function.result @@ -0,0 +1,721 @@ +DROP TABLE IF EXISTS t2; +CREATE TABLE t2 (c1 TINYINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(YEAR(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (year(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(MONTH(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (month(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAY(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofmonth(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 TINYINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 SMALLINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 INTEGER NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +CREATE TABLE t2 (c1 BIGINT NOT NULL, c2 CHAR(5),c3 DATETIME) PARTITION BY HASH(DAYOFWEEK(c3)); +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL, + `c3` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (dayofweek(`c3`)) +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_key.result b/mysql-test/suite/engines/funcs/r/tc_partition_key.result new file mode 100644 index 00000000..eabc4dc2 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_key.result @@ -0,0 +1,721 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_linear_key.result b/mysql-test/suite/engines/funcs/r/tc_partition_linear_key.result new file mode 100644 index 00000000..aca2d67a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_linear_key.result @@ -0,0 +1,721 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 2; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 4; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 4 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 5; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 5 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 99; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 99 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_list_directory.result b/mysql-test/suite/engines/funcs/r/tc_partition_list_directory.result new file mode 100644 index 00000000..ebe5fdb9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_list_directory.result @@ -0,0 +1,32 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (id INTEGER NOT NULL, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1999 VALUES IN (1995, 1999, 2003) +DATA DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p1999/data' + INDEX DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p1999/idx', +PARTITION p2000 VALUES IN (1996, 2000, 2004) +DATA DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p2000/data' + INDEX DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p2000/idx', +PARTITION p2001 VALUES IN (1997, 2001, 2005) +DATA DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p2001/data' + INDEX DIRECTORY = 'MYSQLTEST_VARDIR/tmp/tc_partition_list_directory/p2001/idx' +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +ERROR HY000: Table has no partition for value 1994 +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +ERROR HY000: Table has no partition for value 1998 +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +ERROR HY000: Table has no partition for value 2002 +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +ERROR HY000: Table has no partition for value 2006 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_list_error.result b/mysql-test/suite/engines/funcs/r/tc_partition_list_error.result new file mode 100644 index 00000000..19b60489 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_list_error.result @@ -0,0 +1,66 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 SMALLINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 21), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +ERROR HY000: Multiple definition of same constant in list partitioning +CREATE TABLE t1 (id SMALLINT, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1 VALUES IN (1995, 1999, 2003), +PARTITION p1 VALUES IN (1996, 2000, 2004) +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 ( c1 MEDIUMINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 21), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +ERROR HY000: Multiple definition of same constant in list partitioning +CREATE TABLE t1 (id MEDIUMINT, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1 VALUES IN (1995, 1999, 2003), +PARTITION p1 VALUES IN (1996, 2000, 2004) +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 ( c1 INT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 21), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +ERROR HY000: Multiple definition of same constant in list partitioning +CREATE TABLE t1 (id INT, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1 VALUES IN (1995, 1999, 2003), +PARTITION p1 VALUES IN (1996, 2000, 2004) +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 ( c1 INTEGER, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 21), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +ERROR HY000: Multiple definition of same constant in list partitioning +CREATE TABLE t1 (id INTEGER, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1 VALUES IN (1995, 1999, 2003), +PARTITION p1 VALUES IN (1996, 2000, 2004) +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 ( c1 BIGINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 21), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +ERROR HY000: Multiple definition of same constant in list partitioning +CREATE TABLE t1 (id BIGINT, name VARCHAR(30), adate DATE) +PARTITION BY LIST(YEAR(adate)) +( +PARTITION p1 VALUES IN (1995, 1999, 2003), +PARTITION p1 VALUES IN (1996, 2000, 2004) +); +ERROR HY000: Duplicate partition name p1 diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_optimize.result b/mysql-test/suite/engines/funcs/r/tc_partition_optimize.result new file mode 100644 index 00000000..5d45be4d --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_optimize.result @@ -0,0 +1,58 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10)) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (100), +PARTITION p1 VALUES LESS THAN (200), +PARTITION p2 VALUES LESS THAN (300), +PARTITION p3 VALUES LESS THAN (400), +PARTITION p4 VALUES LESS THAN (500), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 OPTIMIZE PARTITION p1,p2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_rebuild.result b/mysql-test/suite/engines/funcs/r/tc_partition_rebuild.result new file mode 100644 index 00000000..a7a4d11a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_rebuild.result @@ -0,0 +1,58 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10)) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (100), +PARTITION p1 VALUES LESS THAN (200), +PARTITION p2 VALUES LESS THAN (300), +PARTITION p3 VALUES LESS THAN (400), +PARTITION p4 VALUES LESS THAN (500), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 REBUILD PARTITION p1,p2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_remove.result b/mysql-test/suite/engines/funcs/r/tc_partition_remove.result new file mode 100644 index 00000000..bf79d35e --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_remove.result @@ -0,0 +1,477 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT IGNORE INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 3 +Warning 1264 Out of range value for column 'c1' at row 4 +Warning 1264 Out of range value for column 'c1' at row 5 +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +127 abc +127 abc +127 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +127 abc +127 abc +127 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT IGNORE INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +Warnings: +Warning 1264 Out of range value for column 'c1' at row 3 +Warning 1264 Out of range value for column 'c1' at row 4 +Warning 1264 Out of range value for column 'c1' at row 5 +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +127 abc +127 abc +127 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +127 abc +127 abc +127 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1); +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +ALTER TABLE t1 REMOVE PARTITIONING; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_reorg_divide.result b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_divide.result new file mode 100644 index 00000000..b1d455e6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_divide.result @@ -0,0 +1,486 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (7)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (11)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p0 INTO ( +PARTITION s0 VALUES LESS THAN (3), +PARTITION s1 VALUES LESS THAN (10)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `s1` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION s2; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION s1; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `s0` VALUES LESS THAN (3) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (20) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_reorg_hash_key.result b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_hash_key.result new file mode 100644 index 00000000..b75a7f31 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_hash_key.result @@ -0,0 +1,1404 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SHOW TABLES; +Tables_in_test +t1 +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY HASH (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY LINEAR KEY(c1) PARTITIONS 10; +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 10 +ALTER TABLE t1 ADD PARTITION PARTITIONS 10; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 20 +ALTER TABLE t1 COALESCE PARTITION 18; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LINEAR KEY (`c1`) +PARTITIONS 2 +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_reorg_merge.result b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_merge.result new file mode 100644 index 00000000..494a9dfd --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_reorg_merge.result @@ -0,0 +1,426 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE); +INSERT INTO t1 VALUES(0,'abc'),(5,'abc'),(10,'abc'),(15,'abc'),(20,'abc'),(25,'abc'),(30,'abc'),(35,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (29)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (31)); +ERROR HY000: Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range +ALTER TABLE t1 REORGANIZE PARTITION p1,p2 INTO ( +PARTITION m0 VALUES LESS THAN (30)); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +10 abc +15 abc +20 abc +25 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `m0` VALUES LESS THAN (30) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 DROP PARTITION m1; +ERROR HY000: Wrong partition name or partition list +ALTER TABLE t1 DROP PARTITION m0; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +5 abc +30 abc +35 abc +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) NOT NULL, + `c2` char(5) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (10) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_repair.result b/mysql-test/suite/engines/funcs/r/tc_partition_repair.result new file mode 100644 index 00000000..aaeee581 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_repair.result @@ -0,0 +1,58 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(10)) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (100), +PARTITION p1 VALUES LESS THAN (200), +PARTITION p2 VALUES LESS THAN (300), +PARTITION p3 VALUES LESS THAN (400), +PARTITION p4 VALUES LESS THAN (500), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +INSERT INTO t1 VALUES(0,'abc'),(100,'abc'),(200,'abc'),(300,'abc'),(400,'abc'); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +ALTER TABLE t1 REPAIR PARTITION p1,p2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +0 abc +100 abc +200 abc +300 abc +400 abc +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) NOT NULL, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (100) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (200) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (300) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (400) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (500) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_sub1.result b/mysql-test/suite/engines/funcs/r/tc_partition_sub1.result new file mode 100644 index 00000000..90ff234c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_sub1.result @@ -0,0 +1,331 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) +SUBPARTITIONS 2 ( +PARTITION p0 VALUES LESS THAN (1990), +PARTITION p1 VALUES LESS THAN (2000), +PARTITION p2 VALUES LESS THAN MAXVALUE +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +SUBPARTITIONS 2 +(PARTITION `p0` VALUES LESS THAN (1990) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (2000) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_sub2.result b/mysql-test/suite/engines/funcs/r/tc_partition_sub2.result new file mode 100644 index 00000000..71145725 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_sub2.result @@ -0,0 +1,409 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 TINYINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 SMALLINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 MEDIUMINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 INTEGER,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 (c1 BIGINT,name VARCHAR(30), purchased DATE) +PARTITION BY RANGE( YEAR(purchased) ) +SUBPARTITION BY HASH( TO_DAYS(purchased) ) ( +PARTITION p0 VALUES LESS THAN (1990) ( +SUBPARTITION s0, +SUBPARTITION s1 +), +PARTITION p1 VALUES LESS THAN (2000) ( +SUBPARTITION s2, +SUBPARTITION s3 +), +PARTITION p2 VALUES LESS THAN MAXVALUE ( +SUBPARTITION s4, +SUBPARTITION s5 +) +); +INSERT INTO t1 VALUES(1,'abc','1994-01-01'); +INSERT INTO t1 VALUES(2,'abc','1995-01-01'); +INSERT INTO t1 VALUES(3,'abc','1996-01-01'); +INSERT INTO t1 VALUES(4,'abc','1997-01-01'); +INSERT INTO t1 VALUES(5,'abc','1998-01-01'); +INSERT INTO t1 VALUES(6,'abc','1999-01-01'); +INSERT INTO t1 VALUES(7,'abc','2000-01-01'); +INSERT INTO t1 VALUES(8,'abc','2001-01-01'); +INSERT INTO t1 VALUES(9,'abc','2002-01-01'); +INSERT INTO t1 VALUES(10,'abc','2003-01-01'); +INSERT INTO t1 VALUES(11,'abc','2004-01-01'); +INSERT INTO t1 VALUES(12,'abc','2005-01-01'); +INSERT INTO t1 VALUES(13,'abc','2006-01-01'); +SELECT * FROM t1 ORDER BY c1; +c1 name purchased +1 abc 1994-01-01 +2 abc 1995-01-01 +3 abc 1996-01-01 +4 abc 1997-01-01 +5 abc 1998-01-01 +6 abc 1999-01-01 +7 abc 2000-01-01 +8 abc 2001-01-01 +9 abc 2002-01-01 +10 abc 2003-01-01 +11 abc 2004-01-01 +12 abc 2005-01-01 +13 abc 2006-01-01 +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `name` varchar(30) DEFAULT NULL, + `purchased` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (year(`purchased`)) +SUBPARTITION BY HASH (to_days(`purchased`)) +(PARTITION `p0` VALUES LESS THAN (1990) + (SUBPARTITION `s0` ENGINE = ENGINE, + SUBPARTITION `s1` ENGINE = ENGINE), + PARTITION `p1` VALUES LESS THAN (2000) + (SUBPARTITION `s2` ENGINE = ENGINE, + SUBPARTITION `s3` ENGINE = ENGINE), + PARTITION `p2` VALUES LESS THAN MAXVALUE + (SUBPARTITION `s4` ENGINE = ENGINE, + SUBPARTITION `s5` ENGINE = ENGINE)) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_value.result b/mysql-test/suite/engines/funcs/r/tc_partition_value.result new file mode 100644 index 00000000..423ad495 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_value.result @@ -0,0 +1,131 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 SMALLINT, c2 INT) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (1991), +PARTITION p1 VALUES LESS THAN (1995), +PARTITION p2 VALUES LESS THAN (1999), +PARTITION p3 VALUES LESS THAN (2002), +PARTITION p4 VALUES LESS THAN (2006), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (1991) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (1995) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (1999) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (2002) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (2006) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 MEDIUMINT, c2 INT) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (1991), +PARTITION p1 VALUES LESS THAN (1995), +PARTITION p2 VALUES LESS THAN (1999), +PARTITION p3 VALUES LESS THAN (2002), +PARTITION p4 VALUES LESS THAN (2006), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (1991) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (1995) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (1999) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (2002) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (2006) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 INT, c2 INT) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (1991), +PARTITION p1 VALUES LESS THAN (1995), +PARTITION p2 VALUES LESS THAN (1999), +PARTITION p3 VALUES LESS THAN (2002), +PARTITION p4 VALUES LESS THAN (2006), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (1991) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (1995) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (1999) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (2002) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (2006) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 INTEGER, c2 INT) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (1991), +PARTITION p1 VALUES LESS THAN (1995), +PARTITION p2 VALUES LESS THAN (1999), +PARTITION p3 VALUES LESS THAN (2002), +PARTITION p4 VALUES LESS THAN (2006), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (1991) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (1995) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (1999) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (2002) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (2006) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 BIGINT, c2 INT) PARTITION BY RANGE (c1) ( +PARTITION p0 VALUES LESS THAN (1991), +PARTITION p1 VALUES LESS THAN (1995), +PARTITION p2 VALUES LESS THAN (1999), +PARTITION p3 VALUES LESS THAN (2002), +PARTITION p4 VALUES LESS THAN (2006), +PARTITION p5 VALUES LESS THAN MAXVALUE); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY RANGE (`c1`) +(PARTITION `p0` VALUES LESS THAN (1991) ENGINE = ENGINE, + PARTITION `p1` VALUES LESS THAN (1995) ENGINE = ENGINE, + PARTITION `p2` VALUES LESS THAN (1999) ENGINE = ENGINE, + PARTITION `p3` VALUES LESS THAN (2002) ENGINE = ENGINE, + PARTITION `p4` VALUES LESS THAN (2006) ENGINE = ENGINE, + PARTITION `p5` VALUES LESS THAN MAXVALUE ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_value_error.result b/mysql-test/suite/engines/funcs/r/tc_partition_value_error.result new file mode 100644 index 00000000..5d875307 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_value_error.result @@ -0,0 +1,71 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p1 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (10), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p1 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (10), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p1 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (10), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p1 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (10), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p1 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: Duplicate partition name p1 +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (10), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN MAXVALUE +); +ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition diff --git a/mysql-test/suite/engines/funcs/r/tc_partition_value_specific.result b/mysql-test/suite/engines/funcs/r/tc_partition_value_specific.result new file mode 100644 index 00000000..1fd56655 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_partition_value_specific.result @@ -0,0 +1,111 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( c1 SMALLINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 22), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LIST (`c1`) +(PARTITION `r0` VALUES IN (1,5,9,13,17,21) ENGINE = ENGINE, + PARTITION `r1` VALUES IN (2,6,10,14,18,22) ENGINE = ENGINE, + PARTITION `r2` VALUES IN (3,7,11,15,19,23) ENGINE = ENGINE, + PARTITION `r3` VALUES IN (4,8,12,16,20,24) ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 MEDIUMINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 22), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LIST (`c1`) +(PARTITION `r0` VALUES IN (1,5,9,13,17,21) ENGINE = ENGINE, + PARTITION `r1` VALUES IN (2,6,10,14,18,22) ENGINE = ENGINE, + PARTITION `r2` VALUES IN (3,7,11,15,19,23) ENGINE = ENGINE, + PARTITION `r3` VALUES IN (4,8,12,16,20,24) ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 INT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 22), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LIST (`c1`) +(PARTITION `r0` VALUES IN (1,5,9,13,17,21) ENGINE = ENGINE, + PARTITION `r1` VALUES IN (2,6,10,14,18,22) ENGINE = ENGINE, + PARTITION `r2` VALUES IN (3,7,11,15,19,23) ENGINE = ENGINE, + PARTITION `r3` VALUES IN (4,8,12,16,20,24) ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 INTEGER, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 22), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LIST (`c1`) +(PARTITION `r0` VALUES IN (1,5,9,13,17,21) ENGINE = ENGINE, + PARTITION `r1` VALUES IN (2,6,10,14,18,22) ENGINE = ENGINE, + PARTITION `r2` VALUES IN (3,7,11,15,19,23) ENGINE = ENGINE, + PARTITION `r3` VALUES IN (4,8,12,16,20,24) ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1 ( c1 BIGINT, c2 INT) PARTITION BY LIST (c1) ( +PARTITION r0 VALUES IN (1, 5, 9, 13, 17, 21), +PARTITION r1 VALUES IN (2, 6, 10, 14, 18, 22), +PARTITION r2 VALUES IN (3, 7, 11, 15, 19, 23), +PARTITION r3 VALUES IN (4, 8, 12, 16, 20, 24)); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL, + `c2` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci + PARTITION BY LIST (`c1`) +(PARTITION `r0` VALUES IN (1,5,9,13,17,21) ENGINE = ENGINE, + PARTITION `r1` VALUES IN (2,6,10,14,18,22) ENGINE = ENGINE, + PARTITION `r2` VALUES IN (3,7,11,15,19,23) ENGINE = ENGINE, + PARTITION `r3` VALUES IN (4,8,12,16,20,24) ENGINE = ENGINE) +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_rename.result b/mysql-test/suite/engines/funcs/r/tc_rename.result new file mode 100644 index 00000000..68ad49dd --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_rename.result @@ -0,0 +1,22 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +RENAME TABLE t1 TO t2; +SHOW TABLES; +Tables_in_test +t2 +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_rename_across_database.result b/mysql-test/suite/engines/funcs/r/tc_rename_across_database.result new file mode 100644 index 00000000..448697be --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_rename_across_database.result @@ -0,0 +1,39 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NULL); +CREATE DATABASE d1; +CREATE TABLE d1.t2(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SHOW CREATE TABLE d1.t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +RENAME TABLE t1 TO d1.t3; +SHOW TABLES; +Tables_in_test +USE d1; +SHOW TABLES; +Tables_in_d1 +t2 +t3 +SHOW CREATE TABLE t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2,t3; +SHOW TABLES; +Tables_in_d1 +DROP DATABASE d1; diff --git a/mysql-test/suite/engines/funcs/r/tc_rename_error.result b/mysql-test/suite/engines/funcs/r/tc_rename_error.result new file mode 100644 index 00000000..00f274f7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_rename_error.result @@ -0,0 +1,37 @@ +DROP TABLE IF EXISTS t1,t2; +CREATE TABLE t1(c1 INTEGER NULL); +CREATE TABLE t2(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +t1 +t2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +RENAME TABLE t2 TO t1; +ERROR 42S01: Table 't1' already exists +RENAME TABLE t3 TO t1; +ERROR 42S02: Table 'test.t3' doesn't exist +RENAME TABLE t3 TO doesnotexist.t1; +ERROR 42S02: Table 'test.t3' doesn't exist +SHOW TABLES; +Tables_in_test +t1 +t2 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +SHOW CREATE TABLE t2; +Table Create Table +t2 CREATE TABLE `t2` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t2; +SHOW TABLES; +Tables_in_test +t1 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_comment.result b/mysql-test/suite/engines/funcs/r/tc_structure_comment.result new file mode 100644 index 00000000..648328b5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_comment.result @@ -0,0 +1,301 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 BIT NULL) COMMENT = 'This table has a BIT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a BIT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYINT NULL) COMMENT = 'This table has a TINYINT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TINYINT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 SMALLINT NULL) COMMENT = 'This table has a SMALLINT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a SMALLINT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMINT NULL) COMMENT = 'This table has a MEDIUMINT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a MEDIUMINT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INT NULL) COMMENT = 'This table has a INT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a INT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 INTEGER NULL) COMMENT = 'This table has a INTEGER column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a INTEGER column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BIGINT NULL) COMMENT = 'This table has a BIGINT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a BIGINT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 REAL NULL) COMMENT = 'This table has a REAL column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a REAL column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DOUBLE NULL) COMMENT = 'This table has a DOUBLE column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a DOUBLE column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 FLOAT NULL) COMMENT = 'This table has a FLOAT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a FLOAT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DECIMAL NULL) COMMENT = 'This table has a DECIMAL column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a DECIMAL column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 NUMERIC NULL) COMMENT = 'This table has a NUMERIC column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a NUMERIC column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATE NULL) COMMENT = 'This table has a DATE column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a DATE column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIME NULL) COMMENT = 'This table has a TIME column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TIME column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 DATETIME NULL) COMMENT = 'This table has a DATETIME column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a DATETIME column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TIMESTAMP NULL) COMMENT = 'This table has a TIMESTAMP column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TIMESTAMP column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 YEAR NULL) COMMENT = 'This table has a YEAR column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a YEAR column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYBLOB NULL) COMMENT = 'This table has a TINYBLOB column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TINYBLOB column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BLOB NULL) COMMENT = 'This table has a BLOB column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a BLOB column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMBLOB NULL) COMMENT = 'This table has a MEDIUMBLOB column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a MEDIUMBLOB column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGBLOB NULL) COMMENT = 'This table has a LONGBLOB column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a LONGBLOB column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TINYTEXT NULL) COMMENT = 'This table has a TINYTEXT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TINYTEXT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 TEXT NULL) COMMENT = 'This table has a TEXT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a TEXT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 MEDIUMTEXT NULL) COMMENT = 'This table has a MEDIUMTEXT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a MEDIUMTEXT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 LONGTEXT NULL) COMMENT = 'This table has a LONGTEXT column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a LONGTEXT column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_create_like.result b/mysql-test/suite/engines/funcs/r/tc_structure_create_like.result new file mode 100644 index 00000000..600951c6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_create_like.result @@ -0,0 +1,451 @@ +DROP TABLE IF EXISTS src,dest; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BIT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 SMALLINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 INT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 INTEGER NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BIGINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 REAL NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DOUBLE NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 FLOAT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DECIMAL NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 NUMERIC NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DATE NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TIME NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DATETIME NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` datetime DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TIMESTAMP NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 YEAR NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 LONGBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 LONGTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_create_like_string.result b/mysql-test/suite/engines/funcs/r/tc_structure_create_like_string.result new file mode 100644 index 00000000..812a397a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_create_like_string.result @@ -0,0 +1,73 @@ +DROP TABLE IF EXISTS src,dest; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 CHAR(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 VARCHAR(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BINARY(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 VARBINARY(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst LIKE src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_create_select.result b/mysql-test/suite/engines/funcs/r/tc_structure_create_select.result new file mode 100644 index 00000000..4d41ffcc --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_create_select.result @@ -0,0 +1,851 @@ +DROP TABLE IF EXISTS src,dest; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BIT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bit(1) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyint(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 SMALLINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` smallint(6) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumint(9) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 INT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 INTEGER NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` int(11) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BIGINT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` bigint(20) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 REAL NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DOUBLE NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` double DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 FLOAT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` float DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DECIMAL NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 NUMERIC NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` decimal(10,0) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DATE NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` date DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TIME NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` time DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 DATETIME NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` datetime DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` datetime DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TIMESTAMP NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 YEAR NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` year(4) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinyblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` blob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 LONGBLOB NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longblob DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TINYTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` tinytext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 TEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` text DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 MEDIUMTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` mediumtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 LONGTEXT NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` longtext DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_create_select_string.result b/mysql-test/suite/engines/funcs/r/tc_structure_create_select_string.result new file mode 100644 index 00000000..b1b9c8cb --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_create_select_string.result @@ -0,0 +1,137 @@ +DROP TABLE IF EXISTS src,dest; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 CHAR(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` char(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 VARCHAR(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varchar(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 BINARY(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` binary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; +CREATE TABLE src (c1 INT NOT NULL AUTO_INCREMENT, c2 VARBINARY(10) NULL, PRIMARY KEY(c1)); +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1)) SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +CREATE TABLE dst (c1 INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(c1))ENGINE=MyISAM SELECT c1,c2 FROM src; +SHOW TABLES; +Tables_in_test +dst +src +SHOW CREATE TABLE dst; +Table Create Table +dst CREATE TABLE `dst` ( + `c1` int(11) NOT NULL AUTO_INCREMENT, + `c2` varbinary(10) DEFAULT NULL, + PRIMARY KEY (`c1`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE dst; +SHOW TABLES; +Tables_in_test +src +DROP TABLE src; diff --git a/mysql-test/suite/engines/funcs/r/tc_structure_string_comment.result b/mysql-test/suite/engines/funcs/r/tc_structure_string_comment.result new file mode 100644 index 00000000..3b446539 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_structure_string_comment.result @@ -0,0 +1,49 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 CHAR(10) NULL) COMMENT = 'This table has a CHAR column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a CHAR column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARCHAR(10) NULL) COMMENT = 'This table has a VARCHAR column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a VARCHAR column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 BINARY(10) NULL) COMMENT = 'This table has a BINARY column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a BINARY column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TABLE t1(c1 VARBINARY(10) NULL) COMMENT = 'This table has a VARBINARY column'; +SHOW TABLES; +Tables_in_test +t1 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='This table has a VARBINARY column' +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_temporary_column.result b/mysql-test/suite/engines/funcs/r/tc_temporary_column.result new file mode 100644 index 00000000..03627817 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_temporary_column.result @@ -0,0 +1,617 @@ +DROP TABLE IF EXISTS t1; +CREATE TEMPORARY TABLE t1(c1 BIT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` bit(1) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYINT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinyint(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 SMALLINT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` smallint(6) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMINT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumint(9) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 INT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 INTEGER NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` int(11) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 BIGINT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` bigint(20) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DECIMAL NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DEC NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 FIXED NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 NUMERIC NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DOUBLE NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 REAL NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DOUBLE PRECISION NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 FLOAT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` float DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DATE NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` date DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TIME NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` time DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TIMESTAMP NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` timestamp NULL DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DATETIME NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` datetime DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 YEAR NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` year(4) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYBLOB NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinyblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 BLOB NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` blob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMBLOB NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 LONGBLOB NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` longblob DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYTEXT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinytext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TEXT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` text DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMTEXT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 LONGTEXT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` longtext DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 BIT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` bit(1) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYINT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinyint(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 SMALLINT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` smallint(6) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMINT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumint(9) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 INT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 INTEGER NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` int(11) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 BIGINT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` bigint(20) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DECIMAL NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DEC NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 FIXED NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 NUMERIC NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` decimal(10,0) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DOUBLE NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 REAL NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DOUBLE PRECISION NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` double NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 FLOAT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` float NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DATE NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` date NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TIME NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` time NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TIMESTAMP NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` timestamp NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 DATETIME NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` datetime NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 YEAR NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` year(4) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinyblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 BLOB NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` blob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 LONGBLOB NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` longblob NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TINYTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` tinytext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 TEXT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` text NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 MEDIUMTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` mediumtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t1(c1 LONGTEXT NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `c1` longtext NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t1; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/tc_temporary_column_length.result b/mysql-test/suite/engines/funcs/r/tc_temporary_column_length.result new file mode 100644 index 00000000..f1a9a775 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tc_temporary_column_length.result @@ -0,0 +1,243 @@ +DROP TABLE IF EXISTS t5; +CREATE TEMPORARY TABLE t5(c1 BIT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` bit(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 TINYINT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` tinyint(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 SMALLINT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` smallint(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 MEDIUMINT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` mediumint(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 INT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` int(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 INTEGER(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` int(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 BIGINT(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` bigint(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 CHAR(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` char(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 VARCHAR(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` varchar(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 BINARY(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` binary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 VARBINARY(10) NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` varbinary(10) DEFAULT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 BIT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` bit(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 TINYINT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` tinyint(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 SMALLINT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` smallint(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 MEDIUMINT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` mediumint(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 INT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` int(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 INTEGER(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` int(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 BIGINT(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` bigint(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 CHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` char(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 VARCHAR(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` varchar(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 BINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` binary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test +CREATE TEMPORARY TABLE t5(c1 VARBINARY(10) NOT NULL); +SHOW TABLES; +Tables_in_test +SHOW CREATE TABLE t5; +Table Create Table +t5 CREATE TEMPORARY TABLE `t5` ( + `c1` varbinary(10) NOT NULL +) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +DROP TABLE t5; +SHOW TABLES; +Tables_in_test diff --git a/mysql-test/suite/engines/funcs/r/time_function.result b/mysql-test/suite/engines/funcs/r/time_function.result new file mode 100644 index 00000000..7c8b0f61 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/time_function.result @@ -0,0 +1,10 @@ +DROP TABLE IF EXISTS t3; +CREATE TABLE t3(c1 TIME NOT NULL); +INSERT INTO t3 VALUES('00:00:00'); +INSERT INTO t3 VALUES('23:59:59'); +INSERT IGNORE INTO t3 VALUES('99:99:99'); +Warnings: +Warning 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t3 VALUES('12:00:00'); +INSERT INTO t3 VALUES('13:13:13'); +DROP TABLE t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_all_type_triggers.result b/mysql-test/suite/engines/funcs/r/tr_all_type_triggers.result new file mode 100644 index 00000000..1327e103 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_all_type_triggers.result @@ -0,0 +1,1838 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr2 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr3 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr4 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr5 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +CREATE TRIGGER tr6 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 128 +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 11 +4 11 +6 10 +7 10 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 188 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 11 0 11 +3 0 12 0 12 +4 0 12 0 12 +5 0 1 0 11 +6 1 0 1 0 +7 1 0 1 0 +8 0 1 0 11 +9 0 3 0 11 +10 3 0 3 0 +11 3 0 3 0 +12 0 3 0 11 +13 0 4 0 11 +14 4 0 4 0 +15 4 0 4 0 +16 0 4 0 11 +17 1 1 11 10 +18 1 1 11 10 +19 6 6 6 10 +20 6 6 6 10 +21 7 7 7 10 +22 7 7 7 10 +23 1 0 10 0 +24 1 0 10 0 +25 6 0 10 0 +26 6 0 10 0 +27 7 0 10 0 +28 7 0 10 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 248 +DROP TRIGGER tr1; +DROP TRIGGER tr2; +DROP TRIGGER tr3; +DROP TRIGGER tr4; +DROP TRIGGER tr5; +DROP TRIGGER tr6; +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_delete.result b/mysql-test/suite/engines/funcs/r/tr_delete.result new file mode 100644 index 00000000..01af8da1 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_delete.result @@ -0,0 +1,1277 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,0,OLD.c2,0); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 8 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 0 1 0 +2 3 0 3 0 +3 4 0 4 0 +4 1 0 11 0 +5 6 0 6 0 +6 7 0 7 0 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 32 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_delete_new_error.result b/mysql-test/suite/engines/funcs/r/tr_delete_new_error.result new file mode 100644 index 00000000..79300f8c --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_delete_new_error.result @@ -0,0 +1,1101 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER DELETE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c1); +UPDATE t3 SET c2 = c2 + OLD.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no NEW row in on DELETE trigger +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DELETE FROM t1 WHERE c1=1; +DELETE FROM t1 WHERE c1=0; +DELETE FROM t1 WHERE c1=NULL; +DELETE FROM t1 WHERE c1=6 OR c1=7; +DELETE FROM t1 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +2 2 +3 11 +4 11 +8 8 +9 9 +10 10 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 0 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_insert.result b/mysql-test/suite/engines/funcs/r/tr_insert.result new file mode 100644 index 00000000..b0d427a6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_insert.result @@ -0,0 +1,815 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 11 +2 2 +3 11 +4 11 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_insert_after_error.result b/mysql-test/suite/engines/funcs/r/tr_insert_after_error.result new file mode 100644 index 00000000..d26e03a7 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_insert_after_error.result @@ -0,0 +1,485 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(0,NEW.c1,0,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +INSERT INTO t1(c1,c2) VALUES(11,11); +REPLACE INTO t1(c1,c2) VALUES(12,12); +REPLACE INTO t1(c1,c2) VALUES(1,11); +REPLACE INTO t1(c1,c2) VALUES(3,11),(4,11); +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 100 +6 6 +7 7 +8 8 +9 9 +10 10 +11 100 +12 100 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 0 11 0 11 +2 0 12 0 12 +3 0 1 0 11 +4 0 3 0 11 +5 0 4 0 11 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 56 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_insert_old_error.result b/mysql-test/suite/engines/funcs/r/tr_insert_old_error.result new file mode 100644 index 00000000..ffcc5b95 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_insert_old_error.result @@ -0,0 +1,243 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER INSERT ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c1,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +ERROR HY000: There is no OLD row in on INSERT trigger +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_update.result b/mysql-test/suite/engines/funcs/r/tr_update.result new file mode 100644 index 00000000..143629f3 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_update.result @@ -0,0 +1,771 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 10 +2 2 +3 10 +4 4 +6 10 +7 10 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/tr_update_after_error.result b/mysql-test/suite/engines/funcs/r/tr_update_after_error.result new file mode 100644 index 00000000..0aae2ac6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/tr_update_after_error.result @@ -0,0 +1,463 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 TINYINT, new1 TINYINT, old2 TINYINT, new2 TINYINT); +CREATE TABLE t3(c1 TINYINT NOT NULL PRIMARY KEY, c2 TINYINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 SMALLINT, new1 SMALLINT, old2 SMALLINT, new2 SMALLINT); +CREATE TABLE t3(c1 SMALLINT NOT NULL PRIMARY KEY, c2 SMALLINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 MEDIUMINT, new1 MEDIUMINT, old2 MEDIUMINT, new2 MEDIUMINT); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 MEDIUMINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INT, new1 INT, old2 INT, new2 INT); +CREATE TABLE t3(c1 INT NOT NULL PRIMARY KEY, c2 INT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 INTEGER, new1 INTEGER, old2 INTEGER, new2 INTEGER); +CREATE TABLE t3(c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 BIGINT, new1 BIGINT, old2 BIGINT, new2 BIGINT); +CREATE TABLE t3(c1 BIGINT NOT NULL PRIMARY KEY, c2 BIGINT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 REAL, new1 REAL, old2 REAL, new2 REAL); +CREATE TABLE t3(c1 REAL NOT NULL PRIMARY KEY, c2 REAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DOUBLE, new1 DOUBLE, old2 DOUBLE, new2 DOUBLE); +CREATE TABLE t3(c1 DOUBLE NOT NULL PRIMARY KEY, c2 DOUBLE); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 FLOAT, new1 FLOAT, old2 FLOAT, new2 FLOAT); +CREATE TABLE t3(c1 FLOAT NOT NULL PRIMARY KEY, c2 FLOAT); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 DECIMAL, new1 DECIMAL, old2 DECIMAL, new2 DECIMAL); +CREATE TABLE t3(c1 DECIMAL NOT NULL PRIMARY KEY, c2 DECIMAL); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(6,6),(7,7),(8,8),(9,9),(10,10); +CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, old1 NUMERIC, new1 NUMERIC, old2 NUMERIC, new2 NUMERIC); +CREATE TABLE t3(c1 NUMERIC NOT NULL PRIMARY KEY, c2 NUMERIC); +INSERT INTO t3 VALUES(1,0); +CREATE TRIGGER tr1 AFTER UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +ERROR HY000: Updating of NEW row is not allowed in after trigger +CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW BEGIN +INSERT INTO t2 (old1,new1,old2,new2) VALUES(OLD.c1,NEW.c1,OLD.c2,NEW.c2); +UPDATE t3 SET c2 = c2 + NEW.c2 WHERE c1 = 1; +SET NEW.c2=100; +END// +UPDATE t1 SET c2=10 WHERE c1=1; +UPDATE t1 SET c2=10 WHERE c1=0; +UPDATE t1 SET c2=10 WHERE c1=NULL; +UPDATE t1 SET c2=10 WHERE c1=6 OR c1=7; +UPDATE t1 SET c2=10 WHERE c2=3; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 100 +2 2 +3 100 +4 4 +6 100 +7 100 +8 8 +9 9 +10 10 +SELECT * FROM t2 ORDER BY c1; +c1 old1 new1 old2 new2 +1 1 1 1 10 +2 6 6 6 10 +3 7 7 7 10 +4 3 3 3 10 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +1 40 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/up_calendar_range.result b/mysql-test/suite/engines/funcs/r/up_calendar_range.result new file mode 100644 index 00000000..10bef827 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_calendar_range.result @@ -0,0 +1,118 @@ +DROP TABLE IF EXISTS t1,t2,t3; +SET TIME_ZONE="+03:00"; +CREATE TABLE t1(c1 DATE NOT NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 +2007-02-14 +2007-02-15 +2007-02-16 +2007-02-17 +UPDATE t1 SET c1 = NOW() WHERE c1 >= ADDTIME(NOW(),'2 02:01:01'); +Warnings: +Note 1265 Data truncated for column 'c1' at row 4 +Note 1265 Data truncated for column 'c1' at row 5 +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 +2007-02-13 +2007-02-13 +2007-02-14 +2007-02-15 +DROP TABLE t1; +CREATE TABLE t1(c1 TIME NOT NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +Warnings: +Note 1265 Data truncated for column 'c1' at row 1 +SELECT * FROM t1 ORDER BY c1; +c1 +09:09:33 +10:10:34 +11:10:34 +12:10:34 +13:10:34 +UPDATE t1 SET c1 = NOW() WHERE c1 >= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +09:09:33 +10:10:34 +11:10:34 +12:10:34 +13:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 DATETIME NOT NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +UPDATE t1 SET c1 = NOW() WHERE c1 >= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +CREATE TABLE t1(c1 TIMESTAMP NOT NULL); +SET TIMESTAMP=1171346973; +INSERT INTO t1 (c1) VALUES(NOW()); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01')); +INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01')); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +2007-02-15 11:10:34 +2007-02-16 12:10:34 +2007-02-17 13:10:34 +UPDATE t1 SET c1 = NOW() WHERE c1 >= ADDTIME(NOW(),'2 02:01:01'); +SELECT * FROM t1 ORDER BY c1; +c1 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-13 09:09:33 +2007-02-14 10:10:34 +DROP TABLE t1; +SET TIME_ZONE= @@global.time_zone; diff --git a/mysql-test/suite/engines/funcs/r/up_ignore.result b/mysql-test/suite/engines/funcs/r/up_ignore.result new file mode 100644 index 00000000..34fe7196 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_ignore.result @@ -0,0 +1,349 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE IGNORE t1 SET c1 = -1 WHERE c1 >= 5; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +-1 +-1 +-1 +0 +1 +2 +3 +4 +UPDATE IGNORE t1 SET c1 = -10; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +-10 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/up_limit.result b/mysql-test/suite/engines/funcs/r/up_limit.result new file mode 100644 index 00000000..754fe6a9 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_limit.result @@ -0,0 +1,175 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(c1 TINYINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 INTEGER NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; +CREATE TABLE t1(c1 BIGINT NOT NULL); +INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +UPDATE t1 SET c1 = -1 ORDER BY c1 LIMIT 2; +SELECT * FROM t1 ORDER BY c1; +c1 +-1 +-1 +2 +3 +4 +5 +6 +7 +8 +9 +UPDATE t1 SET c1 = -10 WHERE c1 >= 5 ORDER BY c1 LIMIT 1; +SELECT * FROM t1 ORDER BY c1; +c1 +-10 +-1 +-1 +2 +3 +4 +6 +7 +8 +9 +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/up_multi_db_table.result b/mysql-test/suite/engines/funcs/r/up_multi_db_table.result new file mode 100644 index 00000000..fc415da5 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_multi_db_table.result @@ -0,0 +1,411 @@ +DROP DATABASE IF EXISTS d1; +DROP DATABASE IF EXISTS d2; +DROP DATABASE IF EXISTS d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; +CREATE DATABASE d1; +CREATE DATABASE d2; +CREATE DATABASE d3; +CREATE TABLE d1.t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d2.t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE d3.t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO d1.t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO d2.t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO d3.t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE d1.t1, d2.t2, d3.t3 SET d1.t1.c2=30, d2.t2.c2=40, d3.t3.c2=50 WHERE d1.t1.c1=d2.t2.c2 AND d2.t2.c1=d3.t3.c2; +SELECT * FROM d1.t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM d2.t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM d3.t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP DATABASE d1; +DROP DATABASE d2; +DROP DATABASE d3; diff --git a/mysql-test/suite/engines/funcs/r/up_multi_table.result b/mysql-test/suite/engines/funcs/r/up_multi_table.result new file mode 100644 index 00000000..af4ed373 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_multi_table.result @@ -0,0 +1,348 @@ +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2)); +INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5); +INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6); +INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15); +UPDATE IGNORE t1, t2 ,t3 SET t1.c2 = 30, t2.c2 = 40, t3.c2=50 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2; +SELECT * FROM t1 ORDER BY c1; +c1 c2 +1 30 +2 30 +3 3 +4 4 +5 5 +SELECT * FROM t2 ORDER BY c1; +c1 c2 +11 40 +12 1 +13 40 +14 40 +15 6 +SELECT * FROM t3 ORDER BY c1; +c1 c2 +21 50 +22 50 +23 50 +24 50 +25 15 +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/up_nullcheck.result b/mysql-test/suite/engines/funcs/r/up_nullcheck.result new file mode 100644 index 00000000..eec58b6a --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_nullcheck.result @@ -0,0 +1,97 @@ +DROP TABLE IF EXISTS t1; +CREATE TABLE t1(id TINYINT NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; +CREATE TABLE t1(id SMALLINT NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; +CREATE TABLE t1(id MEDIUMINT NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; +CREATE TABLE t1(id INT NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; +CREATE TABLE t1(id INTEGER NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; +CREATE TABLE t1(id BIGINT NOT NULL, data CHAR(16), PRIMARY KEY(id)); +INSERT INTO t1 VALUES (1,'MySQL'),(2,'ROCKS'),(3,'Texas'),(4,'kyle'); +SELECT * FROM t1 ORDER BY id; +id data +1 MySQL +2 ROCKS +3 Texas +4 kyle +UPDATE t1 SET id=id+4 WHERE id=1; +SELECT * FROM t1 ORDER BY id; +id data +2 ROCKS +3 Texas +4 kyle +5 MySQL +DROP TABLE t1; diff --git a/mysql-test/suite/engines/funcs/r/up_number_range.result b/mysql-test/suite/engines/funcs/r/up_number_range.result new file mode 100644 index 00000000..e9ce89e8 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_number_range.result @@ -0,0 +1,2395 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +5 10 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 < 5; +COUNT(c1) SUM(c1) +4 10 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 < 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 < 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +6 15 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 51 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +5 15 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 = 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 = 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 35 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 50 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +5 40 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 >= 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 >= 5; +COUNT(c1) SUM(c1) +1 6 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 != 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 != 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 != 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +9 40 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 54 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +8 44 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +UPDATE t1 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t1; +COUNT(c1) SUM(c1) +0 NULL +SELECT COUNT(c1),SUM(c1) FROM t1 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 45 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t2 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t2; +COUNT(c1) SUM(c1) +10 46 +SELECT COUNT(c1),SUM(c1) FROM t2 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 TINYINT NOT NULL); +CREATE TABLE t2(c1 TINYINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 TINYINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 SMALLINT NOT NULL); +CREATE TABLE t2(c1 SMALLINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 SMALLINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 MEDIUMINT NOT NULL); +CREATE TABLE t2(c1 MEDIUMINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 MEDIUMINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INT NOT NULL); +CREATE TABLE t2(c1 INT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 INTEGER NOT NULL); +CREATE TABLE t2(c1 INTEGER NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 INTEGER NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BIGINT NOT NULL); +CREATE TABLE t2(c1 BIGINT NOT NULL); +INSERT INTO t2 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9); +CREATE TABLE t3(c1 BIGINT NOT NULL); +INSERT INTO t3 (c1) VALUES(5); +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 5 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +1 5 +UPDATE t3 SET c1 = c1 + 1 WHERE c1 <=> 5; +SELECT COUNT(c1),SUM(c1) FROM t3; +COUNT(c1) SUM(c1) +1 6 +SELECT COUNT(c1),SUM(c1) FROM t3 WHERE c1 <=> 5; +COUNT(c1) SUM(c1) +0 NULL +DROP TABLE t1,t2,t3; diff --git a/mysql-test/suite/engines/funcs/r/up_string_range.result b/mysql-test/suite/engines/funcs/r/up_string_range.result new file mode 100644 index 00000000..bf824cb6 --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/up_string_range.result @@ -0,0 +1,913 @@ +DROP TABLE IF EXISTS t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t3 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t3 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +UPDATE t3 SET c1='a' WHERE c1 = 'a'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'a'; +COUNT(c1) +1 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +2 +UPDATE t2 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +2 +UPDATE t2 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +2 +UPDATE t2 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'b'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'b'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +1 +UPDATE t2 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'c'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'c'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t1 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t1; +COUNT(c1) +0 +SELECT COUNT(c1) FROM t1 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t2 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t2; +COUNT(c1) +7 +SELECT COUNT(c1) FROM t2 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 CHAR(10) NOT NULL); +CREATE TABLE t2(c1 CHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 CHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARCHAR(10) NOT NULL); +CREATE TABLE t2(c1 VARCHAR(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARCHAR(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 BINARY(10) NOT NULL); +CREATE TABLE t2(c1 BINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 BINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; +CREATE TABLE t1(c1 VARBINARY(10) NOT NULL); +CREATE TABLE t2(c1 VARBINARY(10) NOT NULL); +INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c'); +CREATE TABLE t3(c1 VARBINARY(10) NOT NULL); +INSERT INTO t3 (c1) VALUES('a'); +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +UPDATE t3 SET c1='a' WHERE c1 = 'd'; +SELECT COUNT(c1) FROM t3; +COUNT(c1) +1 +SELECT COUNT(c1) FROM t3 WHERE c1 = 'd'; +COUNT(c1) +0 +DROP TABLE t1,t2,t3; -- cgit v1.2.3